diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-10 12:47:22 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-10 12:47:22 +0000 |
commit | ae5c4164c8a8c1a552b6bccca99f24ce8a728585 (patch) | |
tree | 07d4566ff0c094e9941df15350a09aebf34928ba /src/irc | |
parent | d729474195913a37a4a5f32943d7b213654cf538 (diff) | |
download | irssi-ae5c4164c8a8c1a552b6bccca99f24ce8a728585.zip |
Netsplit displays the IRC network where it happened
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@211 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/netsplit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/irc/core/netsplit.c b/src/irc/core/netsplit.c index c5a4ff49..e6bb199c 100644 --- a/src/irc/core/netsplit.c +++ b/src/irc/core/netsplit.c @@ -56,7 +56,7 @@ static NETSPLIT_SERVER_REC *netsplit_server_create(IRC_SERVER_REC *server, const rec->destserver = g_strdup(destserver); server->split_servers = g_slist_append(server->split_servers, rec); - signal_emit("netsplit new server", 1, rec); + signal_emit("netsplit new server", 2, server, rec); return rec; } @@ -185,8 +185,6 @@ int quitmsg_is_split(const char *msg) g_return_val_if_fail(msg != NULL, FALSE); - if (msg[strlen(msg)-1] == ' ') msg[strlen(msg)-1] = '\0'; /*FIXME: remove - for debugging!*/ - /* must have only two words */ p = strchr(msg, ' '); if (p == NULL || strchr(p+1, ' ') != NULL) return FALSE; |