summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/clistmod.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mir_app/src/clistmod.cpp b/src/mir_app/src/clistmod.cpp
index fdf0b99dc9..6fcb13671e 100644
--- a/src/mir_app/src/clistmod.cpp
+++ b/src/mir_app/src/clistmod.cpp
@@ -348,6 +348,9 @@ int fnShowHide()
MIR_APP_DLL(void) Clist_ChangeContactIcon(MCONTACT hContact, int iIcon)
{
+ if (hContact == 0)
+ return;
+
Clist_BroadcastAsync(INTM_ICONCHANGED, hContact, iIcon);
NotifyEventHooks(hContactIconChangedEvent, hContact, iIcon);