summaryrefslogtreecommitdiff
path: root/src/guildmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guildmanager.cpp')
-rw-r--r--src/guildmanager.cpp4
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);
}