diff options
author | Valentin Batz <senneth@irssi.org> | 2004-10-10 23:04:04 +0000 |
---|---|---|
committer | senneth <senneth@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-10-10 23:04:04 +0000 |
commit | 6c86a5918337a9bc9d6b8b40fa3172fc14a58a65 (patch) | |
tree | d74857a66b31779f03e4ff65c656ad1d84f63416 /src/fe-common/irc | |
parent | 4b40495a5c3b64638eab037063fa774f7e0983f7 (diff) | |
download | irssi-6c86a5918337a9bc9d6b8b40fa3172fc14a58a65.zip |
Added recode to whois_channels event
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3317 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc')
-rw-r--r-- | src/fe-common/irc/fe-whois.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fe-common/irc/fe-whois.c b/src/fe-common/irc/fe-whois.c index 1fec032b..812819e2 100644 --- a/src/fe-common/irc/fe-whois.c +++ b/src/fe-common/irc/fe-whois.c @@ -242,7 +242,7 @@ static void hide_safe_channel_id(IRC_SERVER_REC *server, char *chans) static void event_whois_channels(IRC_SERVER_REC *server, const char *data) { - char *params, *nick, *chans; + char *params, *nick, *chans, *recoded; g_return_if_fail(data != NULL); @@ -255,11 +255,13 @@ static void event_whois_channels(IRC_SERVER_REC *server, const char *data) chans = show_lowascii(chans); if (settings_get_bool("whois_hide_safe_channel_id")) hide_safe_channel_id(server, chans); + recoded = recode_in(chans, nick); printformat(server, nick, MSGLEVEL_CRAP, - IRCTXT_WHOIS_CHANNELS, nick, chans); + IRCTXT_WHOIS_CHANNELS, nick, recoded); g_free(chans); g_free(params); + g_free(recoded); } static void event_whois_away(IRC_SERVER_REC *server, const char *data) |