mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Fixed target handling in recode_out
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3693 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
7be7dd374c
commit
8b772ff6ec
@ -147,9 +147,9 @@ char *recode_out(const SERVER_REC *server, const char *str, const char *target)
|
||||
g_strdup_printf("%s/%s", server->tag, target);
|
||||
if (tagtarget != NULL)
|
||||
to = iconfig_get_str("conversions", tagtarget, NULL);
|
||||
else
|
||||
to = iconfig_get_str("conversions", target, NULL);
|
||||
g_free(tagtarget);
|
||||
if (to == NULL || *to == '\0')
|
||||
to = iconfig_get_str("conversions", target, NULL);
|
||||
if (to == NULL || *to == '\0')
|
||||
/* default outgoing charset if set */
|
||||
to = settings_get_str("recode_out_default_charset");
|
||||
|
Loading…
Reference in New Issue
Block a user