summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-17 17:05:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-17 17:05:37 +0300
commit09bac4d98ec5d5c3a5603526e4dea5816a86c1e6 (patch)
tree4afd6f5e66af92f2b66211cf322079159e9a7d96 /src/gui/widgets
parentf3db3708b082a885d39c38c42221f37b9c0e0d9d (diff)
downloadplus-09bac4d98ec5d5c3a5603526e4dea5816a86c1e6.tar.gz
plus-09bac4d98ec5d5c3a5603526e4dea5816a86c1e6.tar.bz2
plus-09bac4d98ec5d5c3a5603526e4dea5816a86c1e6.tar.xz
plus-09bac4d98ec5d5c3a5603526e4dea5816a86c1e6.zip
Remove ea/guildhandler and ea/guildrecv. Because guilds not works in legacy server anymore.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/chat/guildtab.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/widgets/tabs/chat/guildtab.cpp b/src/gui/widgets/tabs/chat/guildtab.cpp
index 416a90aa1..e78cf343b 100644
--- a/src/gui/widgets/tabs/chat/guildtab.cpp
+++ b/src/gui/widgets/tabs/chat/guildtab.cpp
@@ -37,10 +37,10 @@
#include "debug.h"
-namespace Ea
+namespace EAthena
{
extern Guild *taGuild;
-} // namespace Ea
+} // namespace EAthena
GuildTab::GuildTab(const Widget2 *const widget) :
// TRANSLATORS: guild chat tab name
@@ -60,23 +60,23 @@ GuildTab::~GuildTab()
bool GuildTab::handleCommand(const std::string &restrict type,
const std::string &restrict args)
{
- if (type == "invite" && Ea::taGuild)
+ if (type == "invite" && EAthena::taGuild)
{
guildHandler->invite(args);
}
- else if (type == "leave" && Ea::taGuild)
+ else if (type == "leave" && EAthena::taGuild)
{
inputManager.executeChatCommand(InputAction::LEAVE_GUILD,
std::string(),
this);
}
- else if (type == "kick" && Ea::taGuild)
+ else if (type == "kick" && EAthena::taGuild)
{
inputManager.executeChatCommand(InputAction::KICK_GUILD,
args,
this);
}
- else if (type == "notice" && Ea::taGuild)
+ else if (type == "notice" && EAthena::taGuild)
{
inputManager.executeChatCommand(InputAction::GUILD_NOTICE,
args,
@@ -92,7 +92,7 @@ bool GuildTab::handleCommand(const std::string &restrict type,
void GuildTab::handleInput(const std::string &msg)
{
- if (!Ea::taGuild)
+ if (!EAthena::taGuild)
return;
guildHandler->chat(ChatWindow::doReplace(msg));
@@ -100,8 +100,8 @@ void GuildTab::handleInput(const std::string &msg)
void GuildTab::getAutoCompleteList(StringVect &names) const
{
- if (Ea::taGuild)
- Ea::taGuild->getNames(names);
+ if (EAthena::taGuild)
+ EAthena::taGuild->getNames(names);
}
void GuildTab::getAutoCompleteCommands(StringVect &names) const