diff options
Diffstat (limited to 'src/plugins/irc/irc-info.c')
-rw-r--r-- | src/plugins/irc/irc-info.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-info.c b/src/plugins/irc/irc-info.c index 85014c9b1..f70f031c5 100644 --- a/src/plugins/irc/irc-info.c +++ b/src/plugins/irc/irc-info.c @@ -25,7 +25,6 @@ #include "../weechat-plugin.h" #include "irc.h" -#include "irc-info.h" #include "irc-channel.h" #include "irc-nick.h" #include "irc-protocol.h" @@ -177,8 +176,7 @@ irc_info_get_infolist_cb (void *data, const char *infolist_name, /* make C compiler happy */ (void) data; - (void) arguments; - + if (!infolist_name || !infolist_name[0]) return NULL; |