diff options
Diffstat (limited to 'src/plugins/irc/irc-protocol.c')
-rw-r--r-- | src/plugins/irc/irc-protocol.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index 61b768457..e321d6981 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -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; } |