mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +02:00
Removed some old backwards compatibility code.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2411 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
86dadc071c
commit
9575eecb39
5 changed files with 3 additions and 37 deletions
|
|
@ -118,13 +118,6 @@ static CHANNEL_SETUP_REC *channel_setup_read(CONFIG_NODE *node)
|
|||
|
||||
channel = config_node_get_str(node, "name", NULL);
|
||||
chatnet = config_node_get_str(node, "chatnet", NULL);
|
||||
if (chatnet == NULL) /* FIXME: remove this after .98... */ {
|
||||
chatnet = g_strdup(config_node_get_str(node, "ircnet", NULL));
|
||||
if (chatnet != NULL) {
|
||||
iconfig_node_set_str(node, "chatnet", chatnet);
|
||||
iconfig_node_set_str(node, "ircnet", NULL);
|
||||
}
|
||||
}
|
||||
|
||||
chatnetrec = chatnet == NULL ? NULL : chatnet_find(chatnet);
|
||||
if (channel == NULL || chatnetrec == NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue