瀏覽代碼

Initial no reply when first running toxic client allows toxid to read the data file

Bob Mottram 9 年之前
父節點
當前提交
7b0ef394c8
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      src/freedombone-mesh

+ 2
- 1
src/freedombone-mesh 查看文件

190
         # if this is a valid ID
190
         # if this is a valid ID
191
         if [ ${#PEER_TOX_ID} -gt 30 ]; then
191
         if [ ${#PEER_TOX_ID} -gt 30 ]; then
192
             # start client and make a friend request
192
             # start client and make a friend request
193
-            echo "/nick $USER
193
+            echo "n
194
+/nick $USER
194
 /add $PEER_TOX_ID
195
 /add $PEER_TOX_ID
195
 /exit
196
 /exit
196
 " | $TOXIC_PATH -d
197
 " | $TOXIC_PATH -d