summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 8edea1666..6e1d9ef44 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -110,8 +110,7 @@ void CommandHandler::callFunc(const CommandInfo &info,
inputManager.executeAction(info.actionId);
}
-void CommandHandler::invokeCommand(const int type,
- const bool warn)
+void CommandHandler::invokeCommand(const int type)
{
if (type < 0 || type >= END_COMMANDS)
return;
@@ -119,8 +118,7 @@ void CommandHandler::invokeCommand(const int type,
}
void CommandHandler::invokeCommand(const int type,
- ChatTab *const tab,
- const bool warn)
+ ChatTab *const tab)
{
if (type < 0 || type >= END_COMMANDS)
return;
@@ -128,8 +126,7 @@ void CommandHandler::invokeCommand(const int type,
}
void CommandHandler::invokeCommand(const int type,
- const std::string &args,
- const bool warn)
+ const std::string &args)
{
if (type < 0 || type >= END_COMMANDS)
return;
@@ -138,8 +135,7 @@ void CommandHandler::invokeCommand(const int type,
void CommandHandler::invokeCommand(const int type,
const std::string &args,
- ChatTab *const tab,
- const bool warn)
+ ChatTab *const tab)
{
if (type < 0 || type >= END_COMMANDS)
return;