summaryrefslogtreecommitdiff
path: root/src/progs/manaplus/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-15 02:10:09 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-15 02:10:09 +0300
commit435c12617241fb87225987f2e3f0521cf2dbae75 (patch)
tree16add38ce29c63cea06757bb835eadbfb4e59a01 /src/progs/manaplus/actions
parentc29d9bec9751fbd836e59cb3ba60e778fca2f987 (diff)
downloadplus-435c12617241fb87225987f2e3f0521cf2dbae75.tar.gz
plus-435c12617241fb87225987f2e3f0521cf2dbae75.tar.bz2
plus-435c12617241fb87225987f2e3f0521cf2dbae75.tar.xz
plus-435c12617241fb87225987f2e3f0521cf2dbae75.zip
Remove unused channel parameter from talk methods.s20180215
Diffstat (limited to 'src/progs/manaplus/actions')
-rw-r--r--src/progs/manaplus/actions/chat.cpp4
-rw-r--r--src/progs/manaplus/actions/pets.cpp2
2 files changed, 3 insertions, 3 deletions
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;
}