summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-01-13 21:56:36 -0500
committerAdam <Adam@anope.org>2013-01-13 22:07:27 -0500
commit7e7fc757d5052e6738f8446c681fcf003e55abc4 (patch)
tree1c5dbe1ab8422f58752c78cac4ea22de252df519 /data
parentd3a6bdc68bfc99b6e0926fda18544b58b2c2ca59 (diff)
Allow ns_set_misc/cs_set_misc to have configurable help descriptions
Diffstat (limited to 'data')
-rw-r--r--data/chanserv.example.conf5
-rw-r--r--data/nickserv.example.conf3
2 files changed, 5 insertions, 3 deletions
diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf
index 5b7afd43e..fa58d4fc6 100644
--- a/data/chanserv.example.conf
+++ b/data/chanserv.example.conf
@@ -1116,10 +1116,11 @@ command { service = "ChanServ"; name = "SASET NOEXPIRE"; command = "chanserv/sas
* Provides the command chanserv/set/misc.
*
* Allows you to create arbitrary commands to set data, and have that data show up in chanserv/info.
+ * A field named misc_description may be given for use with help output.
*/
module { name = "cs_set_misc" }
-command { service = "ChanServ"; name = "SET URL"; command = "chanserv/set/misc"; }
-command { service = "ChanServ"; name = "SET EMAIL"; command = "chanserv/set/misc"; }
+command { service = "ChanServ"; name = "SET URL"; command = "chanserv/set/misc"; misc_description = _("Associate a URL with the channel") }
+command { service = "ChanServ"; name = "SET EMAIL"; command = "chanserv/set/misc"; misc_description = _("Associate an E-mail address with the channel") }
/*
* cs_status
diff --git a/data/nickserv.example.conf b/data/nickserv.example.conf
index c3606e36f..87cd2f03a 100644
--- a/data/nickserv.example.conf
+++ b/data/nickserv.example.conf
@@ -529,9 +529,10 @@ command { service = "NickServ"; name = "SASET NOEXPIRE"; command = "nickserv/sas
* Provides the command nickserv/set/misc.
*
* Allows you to create arbitrary commands to set data, and have that data show up in nickserv/info.
+ * A field named misc_description may be given for use with help output.
*/
module { name = "ns_set_misc" }
-command { service = "NickServ"; name = "SET URL"; command = "nickserv/set/misc"; }
+command { service = "NickServ"; name = "SET URL"; command = "nickserv/set/misc"; misc_description = _("Associate a URL with your account") }
#command { service = "NickServ"; name = "SET ICQ"; command = "nickserv/set/misc"; }
#command { service = "NickServ"; name = "SET TWITTER"; command = "nickserv/set/misc"; }
#command { service = "NickServ"; name = "SET FACEBOOK"; command = "nickserv/set/misc"; }