mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
signal "netsplit add" -> "netsplit new"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@939 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
14dfacdb5f
commit
e720a50a8a
@ -331,7 +331,7 @@ void fe_netsplit_init(void)
|
|||||||
printing_splits = FALSE;
|
printing_splits = FALSE;
|
||||||
|
|
||||||
read_settings();
|
read_settings();
|
||||||
signal_add("netsplit add", (SIGNAL_FUNC) sig_netsplit_servers);
|
signal_add("netsplit new", (SIGNAL_FUNC) sig_netsplit_servers);
|
||||||
signal_add("setup changed", (SIGNAL_FUNC) read_settings);
|
signal_add("setup changed", (SIGNAL_FUNC) read_settings);
|
||||||
command_bind("netsplit", NULL, (SIGNAL_FUNC) cmd_netsplit);
|
command_bind("netsplit", NULL, (SIGNAL_FUNC) cmd_netsplit);
|
||||||
}
|
}
|
||||||
@ -343,7 +343,7 @@ void fe_netsplit_deinit(void)
|
|||||||
signal_remove("print starting", (SIGNAL_FUNC) sig_print_starting);
|
signal_remove("print starting", (SIGNAL_FUNC) sig_print_starting);
|
||||||
}
|
}
|
||||||
|
|
||||||
signal_remove("netsplit add", (SIGNAL_FUNC) sig_netsplit_servers);
|
signal_remove("netsplit new", (SIGNAL_FUNC) sig_netsplit_servers);
|
||||||
signal_remove("setup changed", (SIGNAL_FUNC) read_settings);
|
signal_remove("setup changed", (SIGNAL_FUNC) read_settings);
|
||||||
command_unbind("netsplit", (SIGNAL_FUNC) cmd_netsplit);
|
command_unbind("netsplit", (SIGNAL_FUNC) cmd_netsplit);
|
||||||
}
|
}
|
||||||
|
@ -141,7 +141,7 @@ static NETSPLIT_REC *netsplit_add(IRC_SERVER_REC *server, const char *nick,
|
|||||||
|
|
||||||
g_hash_table_insert(server->splits, rec->nick, rec);
|
g_hash_table_insert(server->splits, rec->nick, rec);
|
||||||
|
|
||||||
signal_emit("netsplit add", 1, rec);
|
signal_emit("netsplit new", 1, rec);
|
||||||
return rec;
|
return rec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user