diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:50:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 10:50:22 +0300 |
commit | 4228763829f71ec4db50ed185483d7707c5e47eb (patch) | |
tree | 55e6ae79345b0580b13928162a85d4b7ba2ef664 /src/actions | |
parent | 38b46ebb02bbe307765aa9a456b587eafd3dfd7e (diff) | |
download | manaverse-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.cpp | 4 | ||||
-rw-r--r-- | src/actions/commands.cpp | 2 |
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: |