diff options
Diffstat (limited to 'modules/hostserv')
-rw-r--r-- | modules/hostserv/add.cpp | 2 | ||||
-rw-r--r-- | modules/hostserv/ban.cpp | 2 | ||||
-rw-r--r-- | modules/hostserv/request.cpp | 2 | ||||
-rw-r--r-- | modules/hostserv/set.cpp | 2 |
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> ¶ms) override { - this->OnSyntaxError(source, ""); + this->OnSyntaxError(source); } bool OnHelp(CommandSource &source, const Anope::string &subcommand) override |