summaryrefslogtreecommitdiff
path: root/modules/hostserv
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hostserv')
-rw-r--r--modules/hostserv/add.cpp2
-rw-r--r--modules/hostserv/ban.cpp2
-rw-r--r--modules/hostserv/request.cpp2
-rw-r--r--modules/hostserv/set.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/hostserv/add.cpp b/modules/hostserv/add.cpp
index 9ad20c44b..bdb29557e 100644
--- a/modules/hostserv/add.cpp
+++ b/modules/hostserv/add.cpp
@@ -63,7 +63,7 @@ class CommandHSAdd : public Command
if (host.empty())
{
- this->OnSyntaxError(source, "");
+ this->OnSyntaxError(source);
return;
}
diff --git a/modules/hostserv/ban.cpp b/modules/hostserv/ban.cpp
index d85da4ca1..2b6450a85 100644
--- a/modules/hostserv/ban.cpp
+++ b/modules/hostserv/ban.cpp
@@ -144,7 +144,7 @@ class CommandHSBan : public Command
if (reason.empty())
{
- this->OnSyntaxError(source, "");
+ this->OnSyntaxError(source);
return;
}
diff --git a/modules/hostserv/request.cpp b/modules/hostserv/request.cpp
index d5a3de0ae..7f87e2e21 100644
--- a/modules/hostserv/request.cpp
+++ b/modules/hostserv/request.cpp
@@ -169,7 +169,7 @@ class CommandHSRequest : public Command
if (host.empty())
{
- this->OnSyntaxError(source, "");
+ this->OnSyntaxError(source);
return;
}
diff --git a/modules/hostserv/set.cpp b/modules/hostserv/set.cpp
index 4b506165e..15f05784e 100644
--- a/modules/hostserv/set.cpp
+++ b/modules/hostserv/set.cpp
@@ -30,7 +30,7 @@ class CommandHSSet : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params) override
{
- this->OnSyntaxError(source, "");
+ this->OnSyntaxError(source);
}
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override