summaryrefslogtreecommitdiff
path: root/src/guildmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guildmanager.cpp')
-rw-r--r--src/guildmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guildmanager.cpp b/src/guildmanager.cpp
index 6fbf15666..7057aa311 100644
--- a/src/guildmanager.cpp
+++ b/src/guildmanager.cpp
@@ -65,7 +65,7 @@ void GuildManager::init()
int val = serverConfig.getValue("enableGuildBot", -1);
if (val == -1)
{
- if (Client::isTmw())
+ if (client->isTmw())
val = 1;
else
val = 0;