1
0
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:
Timo Sirainen 2000-12-03 04:48:01 +00:00 committed by cras
parent 14dfacdb5f
commit e720a50a8a
2 changed files with 3 additions and 3 deletions

View File

@ -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);
} }

View File

@ -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;
} }