mirror of
https://github.com/irssi/irssi.git
synced 2024-09-08 04:26:01 -04:00
Fix mode display in whois with unreal (379 numeric).
Bug #479 git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4637 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
55c1685999
commit
fabecae6e6
@ -113,8 +113,10 @@ static void event_whois_modes(IRC_SERVER_REC *server, const char *data)
|
||||
|
||||
g_return_if_fail(data != NULL);
|
||||
|
||||
params = event_get_params(data, 6, NULL, &nick,
|
||||
NULL, NULL, NULL, &modes);
|
||||
params = event_get_params(data, 3 | PARAM_FLAG_GETREST,
|
||||
NULL, &nick, &modes);
|
||||
if (!strncmp(modes, "is using modes ", 15))
|
||||
modes += 15;
|
||||
printformat(server, nick, MSGLEVEL_CRAP,
|
||||
IRCTXT_WHOIS_MODES, nick, modes);
|
||||
g_free(params);
|
||||
|
Loading…
Reference in New Issue
Block a user