Get rid of some hardcoding

This commit is contained in:
Berke Viktor
2012-10-13 06:17:27 +02:00
parent d20daad417
commit 902063d932
4 changed files with 7 additions and 4 deletions

View File

@@ -970,7 +970,7 @@ servlist_load_defaults (void)
if (def[i].network)
{
net = servlist_net_add (def[i].network, def[i].host, FALSE);
net->encoding = strdup ("IRC (Latin/Unicode Hybrid)");
net->encoding = strdup (IRC_DEFAULT_CHARSET);
if (def[i].channel)
net->autojoin = strdup (def[i].channel);
if (def[i].charset)