mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
updated dancer's channel forwarding support - using +f channel mode now, and
we won't print whois_modes anymore after forwarding. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2854 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
aede6457a1
commit
648a43ce14
2 changed files with 10 additions and 4 deletions
|
|
@ -459,7 +459,8 @@ static void event_whois_help(IRC_SERVER_REC *server, const char *data)
|
|||
g_free(params);
|
||||
}
|
||||
|
||||
static void event_whois_modes(IRC_SERVER_REC *server, const char *data)
|
||||
static void event_whois_modes(IRC_SERVER_REC *server, const char *data,
|
||||
const char *orignick)
|
||||
{
|
||||
char *params, *nick, *modes;
|
||||
|
||||
|
|
@ -468,8 +469,13 @@ static void event_whois_modes(IRC_SERVER_REC *server, const char *data)
|
|||
params = event_get_params(data, 6, NULL, &nick,
|
||||
NULL, NULL, NULL, &modes);
|
||||
|
||||
printformat(server, nick, MSGLEVEL_CRAP,
|
||||
IRCTXT_WHOIS_MODES, nick, modes);
|
||||
if (!ischannel(*nick)) {
|
||||
printformat(server, nick, MSGLEVEL_CRAP,
|
||||
IRCTXT_WHOIS_MODES, nick, modes);
|
||||
} else {
|
||||
/* OPN's dancer uses for channel forwarding */
|
||||
print_event_received(server, data, orignick, FALSE);
|
||||
}
|
||||
g_free(params);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue