summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlethality <lethality@anope.org>2011-08-05 16:07:41 +0100
committerlethality <lethality@anope.org>2011-08-05 16:07:41 +0100
commitd6a8d272658ff56de7971acf918ab48d3c43e1d8 (patch)
treea7766b523e899607515637f9a52278447518ae74
parent5e18a7292b15a0aaf27c2f3ce6335116a4d2290d (diff)
Fixed an error and typo in CS SET OPNOTICE
-rw-r--r--data/chanserv.example.conf2
-rw-r--r--modules/commands/cs_set_opnotice.cpp2
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}"));