diff options
-rw-r--r-- | src/ui/mucwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index 0122950a..cdac610f 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -506,7 +506,7 @@ mucwin_incoming_msg(ProfMucWin *mucwin, const char *const nick, const char *cons { assert(mucwin != NULL); - if (g_hash_table_remove(mucwin->sent_messages, id)) { + if (id && g_hash_table_remove(mucwin->sent_messages, id)) { /* Ignore reflection messages */ return; } |