mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05: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);
|
g_return_if_fail(data != NULL);
|
||||||
|
|
||||||
params = event_get_params(data, 6, NULL, &nick,
|
params = event_get_params(data, 3 | PARAM_FLAG_GETREST,
|
||||||
NULL, NULL, NULL, &modes);
|
NULL, &nick, &modes);
|
||||||
|
if (!strncmp(modes, "is using modes ", 15))
|
||||||
|
modes += 15;
|
||||||
printformat(server, nick, MSGLEVEL_CRAP,
|
printformat(server, nick, MSGLEVEL_CRAP,
|
||||||
IRCTXT_WHOIS_MODES, nick, modes);
|
IRCTXT_WHOIS_MODES, nick, modes);
|
||||||
g_free(params);
|
g_free(params);
|
||||||
|
Loading…
Reference in New Issue
Block a user