diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-29 14:51:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-29 14:51:02 +0300 |
commit | d08e40706207d56cdeee73cab17f2ea61ab1082c (patch) | |
tree | 4caa8862828d2c6dee2df1aa6fff8d2d92eea275 /src/actions | |
parent | 32bf758a1267689cac65e10f69c73b8efa40bb94 (diff) | |
download | ManaVerse-d08e40706207d56cdeee73cab17f2ea61ab1082c.tar.gz ManaVerse-d08e40706207d56cdeee73cab17f2ea61ab1082c.tar.bz2 ManaVerse-d08e40706207d56cdeee73cab17f2ea61ab1082c.tar.xz ManaVerse-d08e40706207d56cdeee73cab17f2ea61ab1082c.zip |
Remove unused guildid parameter from guild handler.
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 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; } |