From d08e40706207d56cdeee73cab17f2ea61ab1082c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Mar 2015 14:51:02 +0300 Subject: Remove unused guildid parameter from guild handler. --- 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 77991d038..9c90b87dd 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -79,7 +79,7 @@ static void outString(ChatTab *const tab, { if (!serverFeatures->haveNativeGuilds()) return; - guildHandler->chat(guild->getId(), str); + guildHandler->chat(str); } #ifdef TMWA_SUPPORT else if (guildManager) @@ -376,7 +376,7 @@ impHandler(guild) { #ifdef TMWA_SUPPORT if (guild->getServerGuild()) - guildHandler->invite(guild->getId(), args); + guildHandler->invite(args); else if (guildManager) guildManager->invite(args); #else diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 1762b6000..a02a97498 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -521,7 +521,7 @@ impHandler(info) { const Guild *const guild = localPlayer->getGuild(); if (guild) - guildHandler->info(guild->getId()); + guildHandler->info(); } return true; } -- cgit v1.2.3-70-g09d2