mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +02:00
Recode patch by decadix/senneth
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3283 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
924ac8f91f
commit
226a567562
20 changed files with 289 additions and 63 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#include "network.h"
|
||||
#include "settings.h"
|
||||
#include "irssi-version.h"
|
||||
#include "recode.h"
|
||||
|
||||
#include "irc-servers.h"
|
||||
#include "irc-channels.h"
|
||||
|
|
@ -195,10 +196,11 @@ static void dump_join(IRC_CHANNEL_REC *channel, CLIENT_REC *client)
|
|||
|
||||
proxy_outdata(client, ":%s 366 %s %s :End of /NAMES list.\n",
|
||||
client->proxy_address, client->nick, channel->name);
|
||||
/* this is needed because the topic may be encoded into other charsets internaly */
|
||||
if (channel->topic != NULL) {
|
||||
proxy_outdata(client, ":%s 332 %s %s :%s\n",
|
||||
client->proxy_address, client->nick,
|
||||
channel->name, channel->topic);
|
||||
channel->name, recode_out(channel->topic, channel->name));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue