summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-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);