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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actions/chat.cpp') 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; } -- cgit v1.2.3-70-g09d2