From 6c1af7ee3038f7182be94f8b2df118abfa3d72c2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 10 Nov 2007 07:32:04 +0000 Subject: [PATCH] whoops, another minor fix --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401676 --- public/mms_sample_ext/stub_mm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/public/mms_sample_ext/stub_mm.cpp b/public/mms_sample_ext/stub_mm.cpp index 3a8fe81f..f058e7da 100644 --- a/public/mms_sample_ext/stub_mm.cpp +++ b/public/mms_sample_ext/stub_mm.cpp @@ -41,6 +41,8 @@ bool StubPlugin::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bo SH_ADD_HOOK_STATICFUNC(IServerGameDLL, ServerActivate, server, Hook_ServerActivate, true); + ismm->AddListener(this, this); + return true; }