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

Update nick modes with IRC message 221 (bug #32038)

This commit is contained in:
Sebastien Helleu
2011-01-03 13:02:22 +01:00
parent 7785292428
commit b38dfac5ee
4 changed files with 21 additions and 5 deletions
+5 -1
View File
@@ -770,7 +770,7 @@ IRC_PROTOCOL_CALLBACK(mode)
IRC_COLOR_CHAT_NICK,
nick);
}
irc_mode_user_set (server, pos_modes);
irc_mode_user_set (server, pos_modes, 0);
}
return WEECHAT_RC_OK;
@@ -1938,6 +1938,10 @@ IRC_PROTOCOL_CALLBACK(221)
(argv_eol[3][0] == ':') ? argv_eol[3] + 1 : argv_eol[3],
IRC_COLOR_CHAT_DELIMITERS);
irc_mode_user_set (server,
(argv_eol[3][0] == ':') ? argv_eol[3] + 1 : argv_eol[3],
1);
return WEECHAT_RC_OK;
}