summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs')
-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;
}