summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Burchell <viroteck@viroteck.net>2012-04-19 03:25:05 -0700
committerRobin Burchell <viroteck@viroteck.net>2012-04-19 03:25:05 -0700
commit58c47b3943d45ca630e68ac62f0fba0eddee9ed4 (patch)
treeab48ac5f94556c36b1aa80cc0151b7f26f0c5d63
parentb0611fabe709619b2b9cc5f339b5fe7adc7b9e72 (diff)
parent485e97fb1c68152003e2760668294dd94d3c3807 (diff)
Merge pull request #88 from Robby-/insp20-helpop
[2.0] helpop: revert 05e6330 and make it the other way around
-rw-r--r--docs/inspircd.helpop-full.example18
-rw-r--r--docs/inspircd.helpop.example14
-rw-r--r--src/modules/m_helpop.cpp4
3 files changed, 18 insertions, 18 deletions
diff --git a/docs/inspircd.helpop-full.example b/docs/inspircd.helpop-full.example
index 0169077ba..9c4ae0b92 100644
--- a/docs/inspircd.helpop-full.example
+++ b/docs/inspircd.helpop-full.example
@@ -2,7 +2,7 @@
# Helpop Standard #
#####################
-<alias text="HELPOP" replace="HELP $2-">
+<alias text="HELP" replace="HELPOP $2-">
<helpop key="start" value="InspIRCd Help System
@@ -10,12 +10,12 @@ This system provides help for commands and modes.
Specify your question or a command name as the
parameter for this command.
-/HELP CUSER - To see a list of user commands
-/HELP COPER - To see a list of oper commands
-/HELP UMODES - To see a list of user modes
-/HELP CHMODES - To see a list of channel modes
-/HELP SNOMASKS - To see a list of oper snotice masks
-/HELP EXTBANS - To see a list of extended bans">
+/HELPOP CUSER - To see a list of user commands
+/HELPOP COPER - To see a list of oper commands
+/HELPOP UMODES - To see a list of user modes
+/HELPOP CHMODES - To see a list of channel modes
+/HELPOP SNOMASKS - To see a list of oper snotice masks
+/HELPOP EXTBANS - To see a list of extended bans">
<helpop key="nohelp" value="There is no help for the topic
you searched for. Please try again.">
@@ -205,8 +205,8 @@ A user may only set modes upon themselves, and may not set the
+o usermode, and a user may only change channel modes of
channels where they are at least a halfoperator.
-For a list of all user and channel modes, enter /HELP UMODES or
-/HELP CHMODES.">
+For a list of all user and channel modes, enter /HELPOP UMODES or
+/HELPOP CHMODES.">
<helpop key="topic" value="/TOPIC [channel] {topic}
diff --git a/docs/inspircd.helpop.example b/docs/inspircd.helpop.example
index fec81865e..4b3354837 100644
--- a/docs/inspircd.helpop.example
+++ b/docs/inspircd.helpop.example
@@ -9,7 +9,7 @@
# -- w00t 16/dec/2006
#
-<alias text="HELPOP" replace="HELP $2-">
+<alias text="HELP" replace="HELPOP $2-">
<helpop key="start" value="InspIRCd Help System
@@ -17,12 +17,12 @@ This system provides help for commands and modes.
Specify your question or a command name as the
parameter for this command.
-/HELP CUSER - To see a list of user commands
-/HELP COPER - To see a list of oper commands
-/HELP UMODES - To see a list of user modes
-/HELP CHMODES - To see a list of channel modes
-/HELP SNOMASKS - To see a list of oper snotice masks
-/HELP EXTBANS - To see a list of extended bans">
+/HELPOP CUSER - To see a list of user commands
+/HELPOP COPER - To see a list of oper commands
+/HELPOP UMODES - To see a list of user modes
+/HELPOP CHMODES - To see a list of channel modes
+/HELPOP SNOMASKS - To see a list of oper snotice masks
+/HELPOP EXTBANS - To see a list of extended bans">
<helpop key="nohelp" value="There is no help for the topic
you searched for. Please try again.">
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index 4c5dc23a9..502fa33fd 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -53,7 +53,7 @@ class Helpop : public ModeHandler
class CommandHelpop : public Command
{
public:
- CommandHelpop(Module* Creator) : Command(Creator, "HELP", 0)
+ CommandHelpop(Module* Creator) : Command(Creator, "HELPOP", 0)
{
syntax = "<any-text>";
}
@@ -176,7 +176,7 @@ class ModuleHelpop : public Module
Version GetVersion()
{
- return Version("/help command, works like Unreal helpop", VF_VENDOR);
+ return Version("Provides the /HELPOP command, works like UnrealIRCd's helpop", VF_VENDOR);
}
};