1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 02:45:25 -04:00

removed backwards compatibility from ircnet -> chatnet change

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1006 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-12-17 07:40:59 +00:00 committed by cras
parent bbc33bff5e
commit cf0c2a7fb6
2 changed files with 0 additions and 4 deletions

View File

@ -50,8 +50,6 @@ static CHANNEL_SETUP_REC *channel_setup_read(CONFIG_NODE *node)
rec->autojoin = config_node_get_bool(node, "autojoin", FALSE);
rec->name = g_strdup(channel);
rec->chatnet = g_strdup(config_node_get_str(node, "chatnet", NULL));
if (rec->chatnet == NULL) /* FIXME: remove this in time... */
rec->chatnet = g_strdup(config_node_get_str(node, "ircnet", NULL));
rec->password = (password == NULL || *password == '\0') ? NULL : g_strdup(password);
rec->botmasks = (botmasks == NULL || *botmasks == '\0') ? NULL : g_strdup(botmasks);
rec->autosendcmd = (autosendcmd == NULL || *autosendcmd == '\0') ? NULL : g_strdup(autosendcmd);

View File

@ -314,8 +314,6 @@ static SERVER_SETUP_REC *server_setup_read(CONFIG_NODE *node)
rec = NULL;
chatnet = config_node_get_str(node, "chatnet", NULL);
if (chatnet == NULL) /* FIXME: remove this in time... */
chatnet = config_node_get_str(node, "ircnet", NULL);
signal_emit("server setup read", 3, &rec, node,
chatnet == NULL ? NULL : chatnet_find(chatnet));
if (rec == NULL) {