From d6a8d272658ff56de7971acf918ab48d3c43e1d8 Mon Sep 17 00:00:00 2001 From: lethality Date: Fri, 5 Aug 2011 16:07:41 +0100 Subject: Fixed an error and typo in CS SET OPNOTICE --- data/chanserv.example.conf | 2 +- modules/commands/cs_set_opnotice.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf index b1b19040a..39f727f99 100644 --- a/data/chanserv.example.conf +++ b/data/chanserv.example.conf @@ -543,7 +543,7 @@ command { service = "ChanServ"; name = "SET EMAIL"; command = "chanserv/set/misc */ module { name = "cs_set_opnotice" } command { service = "ChanServ"; name = "SET OPNOTICE"; command = "chanserv/set/opnotice"; } -command { service = "ChanServ"; name = "SASET OPNOTICE"; command = "chanserv/saset/opnotice"; permission = "chanserv/saset/optnotice"; } +command { service = "ChanServ"; name = "SASET OPNOTICE"; command = "chanserv/saset/opnotice"; permission = "chanserv/saset/opnotice"; } /* * cs_set_peace diff --git a/modules/commands/cs_set_opnotice.cpp b/modules/commands/cs_set_opnotice.cpp index 018b89437..e27f03f8b 100644 --- a/modules/commands/cs_set_opnotice.cpp +++ b/modules/commands/cs_set_opnotice.cpp @@ -16,7 +16,7 @@ class CommandCSSetOpNotice : public Command { public: - CommandCSSetOpNotice(Module *creator, const Anope::string &cname = "chanserv/set/notice") : Command(creator, cname, 2, 2) + CommandCSSetOpNotice(Module *creator, const Anope::string &cname = "chanserv/set/opnotice") : Command(creator, cname, 2, 2) { this->SetDesc(_("Send a notice when OP/DEOP commands are used")); this->SetSyntax(_("\037channel\037 {ON | OFF}")); -- cgit