diff options
author | Timo Sirainen <cras@irssi.org> | 2000-12-03 04:48:01 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-12-03 04:48:01 +0000 |
commit | e720a50a8ac50fdaee880cad67db37e58ec3a5c7 (patch) | |
tree | 743290d3e3c118b34af018c23adb759570fcaceb | |
parent | 14dfacdb5f3d2849526ce06ad5a143ba23eda378 (diff) | |
download | irssi-e720a50a8ac50fdaee880cad67db37e58ec3a5c7.zip |
signal "netsplit add" -> "netsplit new"
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@939 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/irc/fe-netsplit.c | 4 | ||||
-rw-r--r-- | 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; } |