diff options
Diffstat (limited to 'src/modules/chat')
-rw-r--r-- | src/modules/chat/chat_svc.cpp | 2 | ||||
-rw-r--r-- | src/modules/chat/manager.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/chat/chat_svc.cpp b/src/modules/chat/chat_svc.cpp index eae370c191..e38da6069c 100644 --- a/src/modules/chat/chat_svc.cpp +++ b/src/modules/chat/chat_svc.cpp @@ -543,6 +543,8 @@ static INT_PTR Service_GetAddEventPtr(WPARAM wParam, LPARAM lParam) static int ModulesLoaded(WPARAM wParam, LPARAM lParam)
{
+ LoadChatIcons();
+
HookEvent(ME_SMILEYADD_OPTIONSCHANGED, SmileyOptionsChanged);
HookEvent(ME_CLIST_PREBUILDCONTACTMENU, PrebuildContactMenu);
diff --git a/src/modules/chat/manager.cpp b/src/modules/chat/manager.cpp index edc6b5fc69..0873dae5c3 100644 --- a/src/modules/chat/manager.cpp +++ b/src/modules/chat/manager.cpp @@ -1476,7 +1476,6 @@ INT_PTR SvcGetChatManager(WPARAM wParam, LPARAM lParam) ci.pLogIconBmpBits = pLogIconBmpBits;
ci.logIconBmpSize = logIconBmpSize;
- LoadChatIcons();
RegisterFonts();
OptionsInit();
return (INT_PTR)&ci;
|