summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 10:50:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 10:50:22 +0300
commit4228763829f71ec4db50ed185483d7707c5e47eb (patch)
tree55e6ae79345b0580b13928162a85d4b7ba2ef664 /src/actions
parent38b46ebb02bbe307765aa9a456b587eafd3dfd7e (diff)
downloadManaVerse-4228763829f71ec4db50ed185483d7707c5e47eb.tar.gz
ManaVerse-4228763829f71ec4db50ed185483d7707c5e47eb.tar.bz2
ManaVerse-4228763829f71ec4db50ed185483d7707c5e47eb.tar.xz
ManaVerse-4228763829f71ec4db50ed185483d7707c5e47eb.zip
Remove getter for guildHandler.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/chat.cpp4
-rw-r--r--src/actions/commands.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 3c6b4f7fc..b5e507924 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -75,7 +75,7 @@ static void outString(const ChatTab *const tab,
{
if (!Net::getServerFeatures()->haveNativeGuilds())
return;
- Net::getGuildHandler()->chat(guild->getId(), str);
+ guildHandler->chat(guild->getId(), str);
}
else if (guildManager)
{
@@ -282,7 +282,7 @@ impHandler(createGuild)
}
else
{
- Net::getGuildHandler()->create(event.args);
+ guildHandler->create(event.args);
}
return true;
}
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index a1ae6b32c..d5c2f5096 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -422,7 +422,7 @@ impHandler(info)
{
const Guild *const guild = localPlayer->getGuild();
if (guild)
- Net::getGuildHandler()->info(guild->getId());
+ guildHandler->info(guild->getId());
break;
}
default: