From 4228763829f71ec4db50ed185483d7707c5e47eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Sep 2014 10:50:22 +0300 Subject: Remove getter for guildHandler. --- src/actions/chat.cpp | 4 ++-- src/actions/commands.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/actions') 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: -- cgit v1.2.3-70-g09d2