diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-14 22:33:12 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-14 22:33:12 +0200 |
commit | c0f674098878b171ace1b0cf884507a611b21de2 (patch) | |
tree | 2a30487f384c3358e5e2f7e623def94b1d031a94 /src/net/tmwserv/guildhandler.cpp | |
parent | ff5dcb946d1efc9248a2f1b88015119d2f267b35 (diff) | |
download | mana-c0f674098878b171ace1b0cf884507a611b21de2.tar.gz mana-c0f674098878b171ace1b0cf884507a611b21de2.tar.bz2 mana-c0f674098878b171ace1b0cf884507a611b21de2.tar.xz mana-c0f674098878b171ace1b0cf884507a611b21de2.zip |
Put the remaining unnamespaced handlers in a namespace
Also fixed some initialization order warnings when compiling with
tmwserv support and made two getters const.
Diffstat (limited to 'src/net/tmwserv/guildhandler.cpp')
-rw-r--r-- | src/net/tmwserv/guildhandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/tmwserv/guildhandler.cpp b/src/net/tmwserv/guildhandler.cpp index 21b43063..92057e6e 100644 --- a/src/net/tmwserv/guildhandler.cpp +++ b/src/net/tmwserv/guildhandler.cpp @@ -39,6 +39,8 @@ #include <iostream> +namespace TmwServ { + GuildHandler::GuildHandler() { static const Uint16 _messages[] = { @@ -241,3 +243,5 @@ void GuildHandler::joinedGuild(MessageIn &msg) channelManager->addChannel(channel); channel->getTab()->chatLog("Topic: " + announcement, BY_CHANNEL); } + +} // namespace TmwServ |