1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

updated the glib error message with netsplits

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2436 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-02-13 15:08:28 +00:00 committed by cras
parent c2d8dc7eee
commit f37ea1af1e

View File

@ -103,7 +103,10 @@ static NETSPLIT_REC *netsplit_add(IRC_SERVER_REC *server, const char *nick,
g_return_val_if_fail(nick != NULL, NULL); g_return_val_if_fail(nick != NULL, NULL);
g_return_val_if_fail(address != NULL, NULL); g_return_val_if_fail(address != NULL, NULL);
g_return_val_if_fail(g_hash_table_lookup(server->splits, nick) == NULL, NULL); if (g_hash_table_lookup(server->splits, nick) != NULL) {
g_warning("%s is already in split list (how?)", nick);
return NULL;
}
/* get splitted servers */ /* get splitted servers */
dupservers = g_strdup(servers); dupservers = g_strdup(servers);