mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Off-by-one in parsing the channel name.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4485 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
8552b47ce9
commit
7ae34b2877
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user