From 435c12617241fb87225987f2e3f0521cf2dbae75 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 15 Feb 2018 02:10:09 +0300 Subject: Remove unused channel parameter from talk methods. --- src/progs/manaplus/actions/chat.cpp | 4 ++-- src/progs/manaplus/actions/pets.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/progs') diff --git a/src/progs/manaplus/actions/chat.cpp b/src/progs/manaplus/actions/chat.cpp index bbfefc826..986dda3ed 100644 --- a/src/progs/manaplus/actions/chat.cpp +++ b/src/progs/manaplus/actions/chat.cpp @@ -69,7 +69,7 @@ static void outString(ChatTab *const tab, if (tab == nullptr) { if (chatHandler != nullptr) - chatHandler->talk(def, GENERAL_CHANNEL); + chatHandler->talk(def); return; } @@ -126,7 +126,7 @@ static void outString(ChatTab *const tab, case ChatTabType::BATTLE: case ChatTabType::LANG: if (chatHandler != nullptr) - chatHandler->talk(str, GENERAL_CHANNEL); + chatHandler->talk(str); break; } } diff --git a/src/progs/manaplus/actions/pets.cpp b/src/progs/manaplus/actions/pets.cpp index f8785829a..301d05266 100644 --- a/src/progs/manaplus/actions/pets.cpp +++ b/src/progs/manaplus/actions/pets.cpp @@ -73,7 +73,7 @@ impHandler(talkPet) std::string args = event.args; if (findCutFirst(args, "/me ")) args = textToMe(args); - chatHandler->talkPet(args, GENERAL_CHANNEL); + chatHandler->talkPet(args); return true; } -- cgit v1.2.3-70-g09d2