From a6ec60e3c0a446d78f0b271e0fdfac58d5c80590 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Pettersson?= Date: Wed, 17 Sep 2014 23:09:42 +0200 Subject: [PATCH] Handle all TOX_FAERR codes. --- src/tox-weechat-commands.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tox-weechat-commands.c b/src/tox-weechat-commands.c index db87e71..875d463 100644 --- a/src/tox-weechat-commands.c +++ b/src/tox-weechat-commands.c @@ -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"));