From b829dd20cb59593bd98d65e06191c29cd1f0b8ec Mon Sep 17 00:00:00 2001 From: HarpyWar Date: Mon, 9 Apr 2018 23:38:18 +0300 Subject: [PATCH] fix compile for versions below 1.2.3.380 --- Murmur/VirtualServerCallbackWrapper.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Murmur/VirtualServerCallbackWrapper.cs b/Murmur/VirtualServerCallbackWrapper.cs index f85abff..c218573 100644 --- a/Murmur/VirtualServerCallbackWrapper.cs +++ b/Murmur/VirtualServerCallbackWrapper.cs @@ -52,10 +52,13 @@ public override void userStateChanged(User state, Current current__) callbackHandler.UserStateChanged(VirtualServer.getOnlineUser(state), server); } +#if MURMUR_123380 public override void userTextMessage(User state, TextMessage message, Current current__) { // UNDONE: create wrapper for TextMessage, it has more context than just a message text callbackHandler.UserTextMessage(VirtualServer.getOnlineUser(state), message.text, server); } +#endif + } }