diff options
Diffstat (limited to 'protocols/MinecraftDynmap/src')
-rw-r--r-- | protocols/MinecraftDynmap/src/chat.cpp | 3 | ||||
-rw-r--r-- | protocols/MinecraftDynmap/src/stdafx.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/protocols/MinecraftDynmap/src/chat.cpp b/protocols/MinecraftDynmap/src/chat.cpp index 31112b00d2..dabf9b4741 100644 --- a/protocols/MinecraftDynmap/src/chat.cpp +++ b/protocols/MinecraftDynmap/src/chat.cpp @@ -49,8 +49,7 @@ void MinecraftDynmapProto::UpdateChat(const char *name, const char *message, con int MinecraftDynmapProto::OnChatEvent(WPARAM, LPARAM lParam) { GCHOOK *hook = reinterpret_cast<GCHOOK*>(lParam); - - if(strcmp(hook->pszModule,m_szModuleName)) + if(strcmp(hook->si->pszModule,m_szModuleName)) return 0; switch(hook->iType) { diff --git a/protocols/MinecraftDynmap/src/stdafx.h b/protocols/MinecraftDynmap/src/stdafx.h index 7965e5fd05..a9f1e1a0a6 100644 --- a/protocols/MinecraftDynmap/src/stdafx.h +++ b/protocols/MinecraftDynmap/src/stdafx.h @@ -40,7 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include <newpluginapi.h> #include <m_system.h> -#include <m_chat.h> +#include <m_chat_int.h> #include <m_clistint.h> #include <m_langpack.h> #include <m_netlib.h> |