Get rid of some hardcoding

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

No files matched your search

+1 -1
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)