From e720a50a8ac50fdaee880cad67db37e58ec3a5c7 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 3 Dec 2000 04:48:01 +0000 Subject: [PATCH] signal "netsplit add" -> "netsplit new" git-svn-id: http://svn.irssi.org/repos/irssi/trunk@939 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/fe-netsplit.c | 4 ++-- src/irc/core/netsplit.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fe-common/irc/fe-netsplit.c b/src/fe-common/irc/fe-netsplit.c index ca1ca76a..6919672f 100644 --- a/src/fe-common/irc/fe-netsplit.c +++ b/src/fe-common/irc/fe-netsplit.c @@ -331,7 +331,7 @@ void fe_netsplit_init(void) printing_splits = FALSE; 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); 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("netsplit add", (SIGNAL_FUNC) sig_netsplit_servers); + signal_remove("netsplit new", (SIGNAL_FUNC) sig_netsplit_servers); signal_remove("setup changed", (SIGNAL_FUNC) read_settings); command_unbind("netsplit", (SIGNAL_FUNC) cmd_netsplit); } diff --git a/src/irc/core/netsplit.c b/src/irc/core/netsplit.c index 963b18bf..5eeb5503 100644 --- a/src/irc/core/netsplit.c +++ b/src/irc/core/netsplit.c @@ -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); - signal_emit("netsplit add", 1, rec); + signal_emit("netsplit new", 1, rec); return rec; }