summaryrefslogtreecommitdiff
path: root/src/core/nicklist.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-12-20 02:14:49 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-12-20 02:14:49 +0000
commitbf5b6c08c56badb5f41b8bf1311992a8d1c56579 (patch)
treebf846565cdfc0aee0e57b89d6a63356177c600e9 /src/core/nicklist.c
parent4d1938d4ef9d9866a7394f5f4d436db8f8511ba2 (diff)
downloadirssi-bf5b6c08c56badb5f41b8bf1311992a8d1c56579.zip
Added WINDOW_REC declaration to common.h, removed unneeded #include "servers.h" from fe-windows.h which broke several files, added the #include in them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2272 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/nicklist.c')
-rw-r--r--src/core/nicklist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/nicklist.c b/src/core/nicklist.c
index 66b58ffb..c4b27e9c 100644
--- a/src/core/nicklist.c
+++ b/src/core/nicklist.c
@@ -102,6 +102,7 @@ static void nicklist_destroy(CHANNEL_REC *channel, NICK_REC *nick)
{
signal_emit("nicklist remove", 2, channel, nick);
+ if (g_hash_table_size(nick->module_data) > 5) g_error("BUG!"); // FIXME: debug
MODULE_DATA_DEINIT(nick);
g_free(nick->nick);
g_free_not_null(nick->realname);