summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2007-05-06 15:13:30 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-05-06 15:13:30 +0000
commit7ae34b2877c3862a19017b949b9975f9d7085926 (patch)
tree75b4310f4af66d99b1ea12796b58c6e4d60a1b8e /src
parent8552b47ce9e460030ace976d826ecb0195b89cf3 (diff)
downloadirssi-7ae34b2877c3862a19017b949b9975f9d7085926.zip
Off-by-one in parsing the channel name.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4485 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/irc/core/irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc.c b/src/irc/core/irc.c
index 63324762..af3e3e4e 100644
--- a/src/irc/core/irc.c
+++ b/src/irc/core/irc.c
@@ -286,7 +286,7 @@ static void irc_server_event(IRC_SERVER_REC *server, const char *line,
g_return_if_fail(line != NULL);
- params = event_get_params(line, 1, &args);
+ params = event_get_params(line, 2, NULL, &args);
recoded_nick = recode_in(SERVER(server), nick, NULL);
if (ischannel(*args) ||
(*args++ == '@' && ischannel(*args)))