diff options
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/src/generic_msghandlers.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index c3ae93facb..7462c68890 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -2173,6 +2173,10 @@ static INT_PTR SI_ModifyStatusIcon(WPARAM wParam, LPARAM lParam) HANDLE hContact = (HANDLE)wParam;
StatusIconData *sid = (StatusIconData *)lParam;
+
+ // return 0 on stupid calls :-P
+ if(!hContact || !sid || !sid->szModule) return 0;
+
struct TStatusBarIconNode *current = status_icon_list;
while (current) {
|