summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-12 16:37:02 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-12 16:37:02 +0300
commit97cf0211b1b2ff066f205d0306c615f895d700dd (patch)
treedff935452926c3fbae2bda5223f5df3f243bbdd1 /src/net
parent48b21bdfdff3c329bd1b7666ab34f3e211ef25f1 (diff)
downloadmanaplus-97cf0211b1b2ff066f205d0306c615f895d700dd.tar.gz
manaplus-97cf0211b1b2ff066f205d0306c615f895d700dd.tar.bz2
manaplus-97cf0211b1b2ff066f205d0306c615f895d700dd.tar.xz
manaplus-97cf0211b1b2ff066f205d0306c615f895d700dd.zip
Fix compilation with manaserv support.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/manaserv/chathandler.cpp11
-rw-r--r--src/net/manaserv/chathandler.h4
-rw-r--r--src/net/manaserv/network.cpp2
3 files changed, 15 insertions, 2 deletions
diff --git a/src/net/manaserv/chathandler.cpp b/src/net/manaserv/chathandler.cpp
index 16552018e..1757b565d 100644
--- a/src/net/manaserv/chathandler.cpp
+++ b/src/net/manaserv/chathandler.cpp
@@ -470,4 +470,15 @@ void ChatHandler::sendRaw(const std::string &args A_UNUSED)
{
}
+
+void ChatHandler::ignoreAll()
+{
+
+}
+
+void ChatHandler::unIgnoreAll()
+{
+
+}
+
} // namespace ManaServ
diff --git a/src/net/manaserv/chathandler.h b/src/net/manaserv/chathandler.h
index beea40423..3ed7717ad 100644
--- a/src/net/manaserv/chathandler.h
+++ b/src/net/manaserv/chathandler.h
@@ -134,9 +134,9 @@ class ChatHandler : public MessageHandler, public Net::ChatHandler
*/
void handleWhoResponse(Net::MessageIn &msg);
- void ignoreAll()
+ void ignoreAll();
- void unIgnoreAll()
+ void unIgnoreAll();
};
} // namespace ManaServ
diff --git a/src/net/manaserv/network.cpp b/src/net/manaserv/network.cpp
index 3303934bd..44478fb4c 100644
--- a/src/net/manaserv/network.cpp
+++ b/src/net/manaserv/network.cpp
@@ -33,6 +33,8 @@
#include <map>
+#include "debug.h"
+
/**
* The local host which is shared for all outgoing connections.
*/