mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-07 08:45:39 +00:00
Get rid of some hardcoding
This commit is contained in:
1 parent
d20daad417
commit
902063d932
4 files changed
+7
-4
No files matched your search
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user