summaryrefslogtreecommitdiff
path: root/src/net/ea
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/ea
parentffeffa2314dbe03e0ced58e0c465760b54908690 (diff)
downloadmanaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.gz
manaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.bz2
manaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.xz
manaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.zip
fix more style, add consts.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/gui/guildtab.cpp2
-rw-r--r--src/net/ea/gui/partytab.cpp2
-rw-r--r--src/net/ea/loginhandler.h3
3 files changed, 5 insertions, 2 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp
index 909cdb8c2..26f984a9a 100644
--- a/src/net/ea/gui/guildtab.cpp
+++ b/src/net/ea/gui/guildtab.cpp
@@ -99,7 +99,7 @@ bool GuildTab::handleCommand(const std::string &type, const std::string &args)
}
else if (type == "kick" && taGuild)
{
- Net::getGuildHandler()->kick(taGuild->getMember(args));
+ Net::getGuildHandler()->kick(taGuild->getMember(args), "");
}
else if (type == "notice" && taGuild)
{
diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp
index e8689d7d0..fc59136e1 100644
--- a/src/net/ea/gui/partytab.cpp
+++ b/src/net/ea/gui/partytab.cpp
@@ -175,6 +175,7 @@ bool PartyTab::handleCommand(const std::string &type, const std::string &args)
break;
case -1:
chatLog(strprintf(BOOLEAN_OPTIONS, "item"));
+ break;
default:
break;
}
@@ -214,6 +215,7 @@ bool PartyTab::handleCommand(const std::string &type, const std::string &args)
break;
case -1:
chatLog(strprintf(BOOLEAN_OPTIONS, "exp"));
+ break;
default:
break;
}
diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h
index eb81ceb6f..1efc94a2a 100644
--- a/src/net/ea/loginhandler.h
+++ b/src/net/ea/loginhandler.h
@@ -60,7 +60,8 @@ class LoginHandler : public Net::LoginHandler
virtual void chooseServer(const unsigned int server) const override;
- virtual void registerAccount(LoginData *const loginData) const override;
+ virtual void registerAccount(LoginData *const loginData)
+ const override;
virtual Worlds getWorlds() const override A_WARN_UNUSED;