summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/adminhandler.cpp2
-rw-r--r--src/net/tmwa/chathandler.cpp1
-rw-r--r--src/net/tmwa/guildhandler.h5
-rw-r--r--src/net/tmwa/playerhandler.cpp1
4 files changed, 7 insertions, 2 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp
index 4ff07bd76..667972539 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -62,6 +62,8 @@ void AdminHandler::handleMessage(Net::MessageIn &msg)
NotifyManager::notify(NotifyManager::KICK_FAIL);
else
NotifyManager::notify(NotifyManager::KICK_SUCCEED);
+ break;
+
default:
break;
}
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index 655a6d826..09b3bd518 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -108,6 +108,7 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
case SMSG_IGNORE_ALL_RESPONSE:
processIgnoreAllResponse(msg);
+ break;
default:
break;
diff --git a/src/net/tmwa/guildhandler.h b/src/net/tmwa/guildhandler.h
index c4c6cf285..581c9bc2f 100644
--- a/src/net/tmwa/guildhandler.h
+++ b/src/net/tmwa/guildhandler.h
@@ -49,12 +49,13 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler
void invite(const int guildId,
const Being *const being) const override;
- void inviteResponse(const int guildId, const bool response) const override;
+ void inviteResponse(const int guildId,
+ const bool response) const override;
void leave(const int guildId) const override;
void kick(const GuildMember *const member,
- const std::string &reason = "") const override;
+ const std::string &reason) const override;
void chat(const int guildId, const std::string &text) const override;
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index ec07a1b51..162841693 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -104,6 +104,7 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
case SMSG_ONLINE_LIST:
processOnlineList(msg);
+ break;
default:
break;