summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 19:22:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commite7d34cc22d3bfd0dd44b014af1bd5fdc891141aa (patch)
treef7fa5a490a99cd4c08d051f44154d5d0e4d26222 /src/net/eathena
parentffeffa2314dbe03e0ced58e0c465760b54908690 (diff)
downloadmanaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.gz
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.bz2
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.xz
manaverse-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.zip
fix more style, add consts.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/adminhandler.cpp1
-rw-r--r--src/net/eathena/chathandler.cpp1
-rw-r--r--src/net/eathena/gamehandler.cpp2
-rw-r--r--src/net/eathena/guildhandler.h2
4 files changed, 5 insertions, 1 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index 662dee9ed..615cffa28 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -62,6 +62,7 @@ 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/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 9ec9fe621..ae13a47b7 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -95,6 +95,7 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
case SMSG_IGNORE_ALL_RESPONSE:
processIgnoreAllResponse(msg);
+ break;
default:
break;
diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp
index fbce4d943..00cfcc827 100644
--- a/src/net/eathena/gamehandler.cpp
+++ b/src/net/eathena/gamehandler.cpp
@@ -84,6 +84,8 @@ void GameHandler::handleMessage(Net::MessageIn &msg)
case SMSG_MAP_CHAR_ID:
processMapCharId(msg);
+ break;
+
default:
break;
}
diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h
index c25e8ff6f..26c57411a 100644
--- a/src/net/eathena/guildhandler.h
+++ b/src/net/eathena/guildhandler.h
@@ -55,7 +55,7 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler
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;