diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 00:55:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 00:55:22 +0300 |
commit | 3a7313c027407e3b35360a021c72fe78f181d81d (patch) | |
tree | bb313b81c7feb42c2a0b5855c1eca00ef2d7c1b1 /src/guildmanager.cpp | |
parent | 1307b14ff24f3935fa58aef405ffb246c0741336 (diff) | |
download | manaplus-3a7313c027407e3b35360a021c72fe78f181d81d.tar.gz manaplus-3a7313c027407e3b35360a021c72fe78f181d81d.tar.bz2 manaplus-3a7313c027407e3b35360a021c72fe78f181d81d.tar.xz manaplus-3a7313c027407e3b35360a021c72fe78f181d81d.zip |
Remove getter for chatHandler.
Diffstat (limited to 'src/guildmanager.cpp')
-rw-r--r-- | src/guildmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guildmanager.cpp b/src/guildmanager.cpp index 152b2b168..446e55801 100644 --- a/src/guildmanager.cpp +++ b/src/guildmanager.cpp @@ -117,7 +117,7 @@ void GuildManager::reload() void GuildManager::send(const std::string &msg) { - Net::getChatHandler()->privateMessage("guild", msg); + chatHandler->privateMessage("guild", msg); } void GuildManager::chat(const std::string &msg) @@ -125,7 +125,7 @@ void GuildManager::chat(const std::string &msg) if (!localPlayer || !mTab) return; - Net::getChatHandler()->privateMessage("guild", msg); + chatHandler->privateMessage("guild", msg); mTab->chatLog(localPlayer->getName(), msg); } |