mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02:00
Added <tag>/<target> support for recode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3692 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5f81451df6
commit
7be7dd374c
13 changed files with 64 additions and 45 deletions
|
|
@ -143,7 +143,7 @@ static void channel_change_topic(IRC_SERVER_REC *server, const char *channel,
|
|||
if (chanrec == NULL) return;
|
||||
/* the topic may be send out encoded, so we need to
|
||||
recode it back or /topic <tab> will not work properly */
|
||||
recoded = recode_in(topic, channel);
|
||||
recoded = recode_in(SERVER(server), topic, channel);
|
||||
if (topic != NULL) {
|
||||
g_free_not_null(chanrec->topic);
|
||||
chanrec->topic = recoded == NULL ? NULL : g_strdup(recoded);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue