diff options
Diffstat (limited to 'plugins/SecureIM/src/crypt_icons.cpp')
-rw-r--r-- | plugins/SecureIM/src/crypt_icons.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/SecureIM/src/crypt_icons.cpp b/plugins/SecureIM/src/crypt_icons.cpp index 917d3e1682..791fd1fd24 100644 --- a/plugins/SecureIM/src/crypt_icons.cpp +++ b/plugins/SecureIM/src/crypt_icons.cpp @@ -47,6 +47,9 @@ HICON mode2icon(int mode, int type) HANDLE mode2clicon(int mode, int type)
{
+ if (!bASI)
+ return INVALID_HANDLE_VALUE;
+
ICON_CACHE &p = getCacheItem(mode, type);
if (p.hCLIcon == NULL)
p.hCLIcon = (HANDLE)CallService(MS_CLIST_EXTRA_ADD_ICON, (WPARAM)p.icon, 0);
|