From 1b22c1acf63d2835dd5bc35f59f245d3a9ca68f1 Mon Sep 17 00:00:00 2001 From: nohar Date: Tue, 7 Mar 2006 21:33:10 +0000 Subject: [PATCH] count one mode arg on +e --- src/irc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/irc.c b/src/irc.c index e1c6fec..ae9e158 100644 --- a/src/irc.c +++ b/src/irc.c @@ -1610,12 +1610,12 @@ static int irc_mode(struct link_server *server, struct line *line) } break; case 'l': - if (add) { + if (add) cur_arg++; - } break; case 'h': case 'H': + case 'e': if (cur_arg + 3 >= line->elemc) return ERR_PROTOCOL; cur_arg++;