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/gui/widgets/tabs/chat/guildtab.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/tabs/chat') diff --git a/src/gui/widgets/tabs/chat/guildtab.cpp b/src/gui/widgets/tabs/chat/guildtab.cpp index 0b220594a..512104fd5 100644 --- a/src/gui/widgets/tabs/chat/guildtab.cpp +++ b/src/gui/widgets/tabs/chat/guildtab.cpp @@ -68,7 +68,7 @@ bool GuildTab::handleCommand(const std::string &restrict type, */ if (type == "invite" && Ea::taGuild) { - guildHandler->invite(Ea::taGuild->getId(), args); + guildHandler->invite(args); } else if (type == "leave" && Ea::taGuild) { @@ -99,8 +99,7 @@ void GuildTab::handleInput(const std::string &msg) if (!Ea::taGuild) return; - guildHandler->chat(Ea::taGuild->getId(), - ChatWindow::doReplace(msg)); + guildHandler->chat(ChatWindow::doReplace(msg)); } void GuildTab::getAutoCompleteList(StringVect &names) const -- cgit v1.2.3-70-g09d2