diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-08-19 17:05:43 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-08-19 17:05:43 +0000 |
commit | f680066f16587b1f8a6bef855cc174d32724f252 (patch) | |
tree | a789aeb70a1c9778e522bbbb256eb1236f5b7809 /src | |
parent | 857a1b913945553345114b6d7078098bf6dae5cd (diff) | |
download | weechat-f680066f16587b1f8a6bef855cc174d32724f252.zip |
Fixed nick refresh problem with unrealircd specific modes: chan owner (~) and chan admin (&) (bug #17340)
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/irc-mode.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/irc/irc-mode.c b/src/irc/irc-mode.c index 9336cb802..d899cc72d 100644 --- a/src/irc/irc-mode.c +++ b/src/irc/irc-mode.c @@ -121,6 +121,10 @@ irc_mode_channel_set (t_irc_channel *channel, char *modes) argv[current_arg--] : NULL; switch (pos[0]) { + case 'a': /* unrealircd specific flag */ + irc_mode_channel_set_nick (channel, ptr_arg, + set_flag, NICK_CHANADMIN); + break; case 'h': irc_mode_channel_set_nick (channel, ptr_arg, set_flag, NICK_HALFOP); @@ -144,6 +148,10 @@ irc_mode_channel_set (t_irc_channel *channel, char *modes) irc_mode_channel_set_nick (channel, ptr_arg, set_flag, NICK_OP); break; + case 'q': /* unrealircd specific flag */ + irc_mode_channel_set_nick (channel, ptr_arg, + set_flag, NICK_CHANOWNER); + break; case 'v': irc_mode_channel_set_nick (channel, ptr_arg, set_flag, NICK_VOICE); |