summaryrefslogtreecommitdiff
path: root/src/modules/m_testcommand.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-02 12:56:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-02 12:56:43 +0000
commit2ad5f8c30ff22e7546d83f3bb56787adfbf5e95c (patch)
treeea77e7ff58272ca02d545dfb1b6f15c4df2d2fcb /src/modules/m_testcommand.cpp
parent0156797aee8a53701fdeb7da60c551c246089363 (diff)
Clarified documentation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@354 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_testcommand.cpp')
-rw-r--r--src/modules/m_testcommand.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index fe205ccc5..72ca9e16a 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -12,8 +12,10 @@ Server *Srv;
void handle_woot(char **parameters, int pcnt, userrec *user)
{
// this test command just accepts:
- // /woot <text>
+ // /woot :<text>
// and sends <text> to all opers with +s mode.
+ // NB: The ':' is *REQUIRED* otherwise the parser will
+ // split the line into multiple parameters[]!
Srv->SendOpers(parameters[0]);
}