A workaround for toxic client buggyness

This commit is contained in:
Bob Mottram 2015-08-26 21:17:26 +01:00
parent d89b387635
commit f37f57e2fe
1 changed files with 7 additions and 3 deletions

View File

@ -152,7 +152,9 @@ if [ ! -f $MUMBLE_PATH ]; then
if [ ${#PEER_TOX_ID} -gt 30 ]; then
echo "/nick $USER
/add $PEER_TOX_ID
/exit
" | $TOXIC_PATH -d
$TOXIC_PATH -d
exit 0
else
echo $PEER_TOX_ID
@ -213,7 +215,9 @@ else
if [ ${#PEER_TOX_ID} -gt 30 ]; then
echo "/nick $USER
/add $PEER_TOX_ID
/exit
" | $TOXIC_PATH -d
$TOXIC_PATH -d
else
echo "Tox ID for $AVAHI_DOMAIN was not found"
exit 6