Browse Source

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

Bob Mottram 9 years ago
parent
commit
7b0ef394c8
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/freedombone-mesh

+ 2
- 1
src/freedombone-mesh View File

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