1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 18:23:13 +02:00

irc: fix condition in account message callback

This commit is contained in:
Sébastien Helleu
2015-12-20 10:18:13 +01:00
parent ad45fd775d
commit 971a90474f
+1 -1
View File
@@ -210,7 +210,7 @@ IRC_PROTOCOL_CALLBACK(account)
IRC_PROTOCOL_MIN_ARGS(3);
pos_account = (argv[2] && argv[2][0] != '*') ? argv[2] : NULL;
pos_account = (strcmp (argv[2], "*") != 0) ? argv[2] : NULL;
for (ptr_channel = server->channels; ptr_channel;
ptr_channel = ptr_channel->next_channel)