From ef06226521d27de88a49a84d8224568fec7624c3 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 6 May 2013 07:40:43 -0400 Subject: Update the rest of modules.example.conf, default inspircd status modes to a sane rank incase they are prefixless, and 50 other things --- modules/commands/cs_suspend.cpp | 2 +- modules/commands/os_forbid.cpp | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'modules/commands') diff --git a/modules/commands/cs_suspend.cpp b/modules/commands/cs_suspend.cpp index a26cbacd5..5fc6fe287 100644 --- a/modules/commands/cs_suspend.cpp +++ b/modules/commands/cs_suspend.cpp @@ -19,7 +19,7 @@ class CommandCSSuspend : public Command CommandCSSuspend(Module *creator) : Command(creator, "chanserv/suspend", 1, 3) { this->SetDesc(_("Prevent a channel from being used preserving channel data and settings")); - this->SetSyntax(_("\037channel\037 [+\037expiry\037] [\037reason\037]")); + this->SetSyntax(_("\037channel\037 [+\037expiry\037] \037reason\037")); } void Execute(CommandSource &source, const std::vector ¶ms) anope_override diff --git a/modules/commands/os_forbid.cpp b/modules/commands/os_forbid.cpp index 6cc00edda..c7c147c7e 100644 --- a/modules/commands/os_forbid.cpp +++ b/modules/commands/os_forbid.cpp @@ -14,8 +14,6 @@ #include "module.h" #include "modules/os_forbid.h" -static ServiceReference nickserv("NickServService", "NickServ"); - class MyForbidService : public ForbidService { Serialize::Checker[FT_SIZE - 1]> forbid_data; @@ -87,7 +85,7 @@ class CommandOSForbid : public Command CommandOSForbid(Module *creator) : Command(creator, "operserv/forbid", 1, 5), fs("ForbidService", "forbid") { this->SetDesc(_("Forbid usage of nicknames, channels, and emails")); - this->SetSyntax(_("ADD {NICK|CHAN|EMAIL|REGISTER} [+\037expiry\037] \037entry\037\002 [\037reason\037]")); + this->SetSyntax(_("ADD {NICK|CHAN|EMAIL|REGISTER} [+\037expiry\037] \037entry\037\002 \037reason\037")); this->SetSyntax(_("DEL {NICK|CHAN|EMAIL|REGISTER} \037entry\037")); this->SetSyntax(_("LIST (NICK|CHAN|EMAIL|REGISTER)")); } -- cgit