diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:47:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:47:16 +0300 |
commit | 05f6f3e94abc5c1e1801d62100cef494e2711474 (patch) | |
tree | d3ee874dd7fa9c6b6170cae8435ea7f18eb1f102 /src/net/ea/gui/partytab.cpp | |
parent | 11caa7aeeb3a7b40823da8573576d2354b7504b5 (diff) | |
download | manaplus-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/partytab.cpp')
-rw-r--r-- | src/net/ea/gui/partytab.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index 76e204205..4a59e89b7 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -64,10 +64,7 @@ PartyTab::~PartyTab() void PartyTab::handleInput(const std::string &msg) { - if (chatWindow) - Net::getPartyHandler()->chat(chatWindow->doReplace(msg)); - else - Net::getPartyHandler()->chat(msg); + Net::getPartyHandler()->chat(ChatWindow::doReplace(msg)); } void PartyTab::showHelp() |