summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/playerhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwserv/playerhandler.h')
-rw-r--r--src/net/tmwserv/playerhandler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/tmwserv/playerhandler.h b/src/net/tmwserv/playerhandler.h
index 17b1f684..5524415e 100644
--- a/src/net/tmwserv/playerhandler.h
+++ b/src/net/tmwserv/playerhandler.h
@@ -25,6 +25,8 @@
#include "net/messagehandler.h"
#include "net/playerhandler.h"
+namespace TmwServ {
+
class PlayerHandler : public MessageHandler, public Net::PlayerHandler
{
public:
@@ -58,6 +60,6 @@ class PlayerHandler : public MessageHandler, public Net::PlayerHandler
void handleMapChangeMessage(MessageIn &msg);
};
-extern Net::PlayerHandler *playerHandler;
+} // namespace TmwServ
#endif