Handle all TOX_FAERR codes.

This commit is contained in:
Håvard Pettersson 2014-09-17 23:09:42 +02:00
parent 78846a6bb3
commit a6ec60e3c0
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ tox_weechat_cmd_friend(void *data, struct t_gui_buffer *buffer,
break;
case TOX_FAERR_UNKNOWN:
case TOX_FAERR_SETNEWNOSPAM:
case TOX_FAERR_NOMESSAGE:
weechat_printf(identity->buffer,
"%sCould not add friend (unknown error).",
weechat_prefix("error"));