summaryrefslogtreecommitdiff
path: root/src/net/ea/gui/guildtab.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:47:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:47:16 +0300
commit05f6f3e94abc5c1e1801d62100cef494e2711474 (patch)
treed3ee874dd7fa9c6b6170cae8435ea7f18eb1f102 /src/net/ea/gui/guildtab.cpp
parent11caa7aeeb3a7b40823da8573576d2354b7504b5 (diff)
downloadmanaplus-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.gz
manaplus-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.bz2
manaplus-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.xz
manaplus-05f6f3e94abc5c1e1801d62100cef494e2711474.zip
Add missing const and static into net classes.
Diffstat (limited to 'src/net/ea/gui/guildtab.cpp')
-rw-r--r--src/net/ea/gui/guildtab.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp
index 6a801bba4..5a8c78c60 100644
--- a/src/net/ea/gui/guildtab.cpp
+++ b/src/net/ea/gui/guildtab.cpp
@@ -127,15 +127,8 @@ void GuildTab::handleInput(const std::string &msg)
if (!taGuild)
return;
- if (chatWindow)
- {
- Net::getGuildHandler()->chat(taGuild->getId(),
- chatWindow->doReplace(msg));
- }
- else
- {
- Net::getGuildHandler()->chat(taGuild->getId(), msg);
- }
+ Net::getGuildHandler()->chat(taGuild->getId(),
+ ChatWindow::doReplace(msg));
}
void GuildTab::showHelp()