summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_events.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-23 13:30:42 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-23 13:30:42 +0300
commit7ec9441d255b4361be26705c65eed5819cd0208f (patch)
treea9dcfa765475648a6c5d7dfaf92b901f916b7c21 /protocols/Steam/src/steam_events.cpp
parent93249b0dec5639fa1c438da3e3289b65bf04c1de (diff)
Clist_GroupCreate() to be called inside OnModulesLoaded, not inside the protocol's constructor
Diffstat (limited to 'protocols/Steam/src/steam_events.cpp')
-rw-r--r--protocols/Steam/src/steam_events.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_events.cpp b/protocols/Steam/src/steam_events.cpp
index 9c37a9d74e..23a418f9e5 100644
--- a/protocols/Steam/src/steam_events.cpp
+++ b/protocols/Steam/src/steam_events.cpp
@@ -2,6 +2,8 @@
int CSteamProto::OnModulesLoaded(WPARAM, LPARAM)
{
+ Clist_GroupCreate(0, m_defaultGroup);
+
HookProtoEvent(ME_OPT_INITIALISE, &CSteamProto::OnOptionsInit);
HookProtoEvent(ME_IDLE_CHANGED, &CSteamProto::OnIdleChanged);
HookProtoEvent(ME_MSG_PRECREATEEVENT, &CSteamProto::OnPreCreateMessage);