summaryrefslogtreecommitdiff
path: root/src/commands/cmd_ison.cpp
diff options
context:
space:
mode:
authorShawn Smith <ShawnSmith0828@gmail.com>2012-06-22 20:43:49 -0400
committerShawn Smith <ShawnSmith0828@gmail.com>2012-07-06 15:28:19 -0400
commitb450b1a34ecf5ab0c7f1236dc86ce347e7cfa039 (patch)
treec7043413abb83052d1267f7a6899a0c12a22f5f9 /src/commands/cmd_ison.cpp
parent85b9374a7a866e659d8289556a3d7c1c93f9dc9e (diff)
Fix to show ERR_NEEDMOREPARAMS for cmd_userhost and cmd_ison
Diffstat (limited to 'src/commands/cmd_ison.cpp')
-rw-r--r--src/commands/cmd_ison.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/commands/cmd_ison.cpp b/src/commands/cmd_ison.cpp
index 784328eb5..1a50239ee 100644
--- a/src/commands/cmd_ison.cpp
+++ b/src/commands/cmd_ison.cpp
@@ -30,7 +30,9 @@ class CommandIson : public Command
public:
/** Constructor for ison.
*/
- CommandIson ( Module* parent) : Command(parent,"ISON",0,0) { syntax = "<nick> {nick}"; }
+ CommandIson ( Module* parent) : Command(parent,"ISON", 1) {
+ syntax = "<nick> {nick}";
+ }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command