summaryrefslogtreecommitdiff
path: root/src/net/tmwa/adminhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 00:55:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 00:55:22 +0300
commit3a7313c027407e3b35360a021c72fe78f181d81d (patch)
treebb313b81c7feb42c2a0b5855c1eca00ef2d7c1b1 /src/net/tmwa/adminhandler.cpp
parent1307b14ff24f3935fa58aef405ffb246c0741336 (diff)
downloadplus-3a7313c027407e3b35360a021c72fe78f181d81d.tar.gz
plus-3a7313c027407e3b35360a021c72fe78f181d81d.tar.bz2
plus-3a7313c027407e3b35360a021c72fe78f181d81d.tar.xz
plus-3a7313c027407e3b35360a021c72fe78f181d81d.zip
Remove getter for chatHandler.
Diffstat (limited to 'src/net/tmwa/adminhandler.cpp')
-rw-r--r--src/net/tmwa/adminhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp
index 19238f2ef..44b6f9038 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -106,7 +106,7 @@ void AdminHandler::kickAll() const
void AdminHandler::warp(const std::string &map, const int x, const int y) const
{
- Net::getChatHandler()->talk(strprintf(
+ chatHandler->talk(strprintf(
"@warp %s %d %d", map.c_str(), x, y), GENERAL_CHANNEL);
}
@@ -120,12 +120,12 @@ void AdminHandler::resetSkills() const
void AdminHandler::gotoName(const std::string &name) const
{
- Net::getChatHandler()->talk("@goto " + name, GENERAL_CHANNEL);
+ chatHandler->talk("@goto " + name, GENERAL_CHANNEL);
}
void AdminHandler::recallName(const std::string &name) const
{
- Net::getChatHandler()->talk("@recall " + name, GENERAL_CHANNEL);
+ chatHandler->talk("@recall " + name, GENERAL_CHANNEL);
}
void AdminHandler::mute(const Being *const being A_UNUSED,