summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-22 14:30:30 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-22 14:30:30 +0100
commit86f5145e1a4b4b2b35fa76ed387932523ac6231d (patch)
tree1f7884d795f5e1dc9988f05dc7db22f7c0e84303 /src
parent6339c15c6d8543a858181d6396fc10753ac3e96d (diff)
downloadweechat-86f5145e1a4b4b2b35fa76ed387932523ac6231d.zip
irc: fix read of MODES server value when in commands /op, /deop, /voice, /devoice, /halfop, /dehalfop
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-command.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 025faab0e..3adfc4654 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -121,7 +121,6 @@ irc_command_mode_nicks (struct t_irc_server *server,
max_modes = 1;
if (max_modes > 128)
max_modes = 128;
- max_modes = (number >= 1) ? number : 1;
}
}