summary refs log tree commit diff stats
path: root/src/common/outbound.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-13 06:17:27 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-13 06:17:27 +0200
commit902063d932a37e8bcc47df1fdad173a44595ad39 (patch)
tree18df10f4128272e9eccbad4c77a9e60a96b87df1 /src/common/outbound.c
parentd20daad4177b315efad95c7e2303f36270929eb8 (diff)
Get rid of some hardcoding
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r--src/common/outbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index 9ec0d04d..d5dbdc49 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -273,7 +273,7 @@ cmd_addserver (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 		if (!network)
 		{
 			network = servlist_net_add (word[2], "", TRUE);
-			network->encoding = strdup ("IRC (Latin/Unicode Hybrid)");
+			network->encoding = strdup (IRC_DEFAULT_CHARSET);
 		}
 		/* if we had the network already, check if the given server already exists */
 		else if (servlist_server_find (network, word_eol[3], NULL))