From b450b1a34ecf5ab0c7f1236dc86ce347e7cfa039 Mon Sep 17 00:00:00 2001 From: Shawn Smith Date: Fri, 22 Jun 2012 20:43:49 -0400 Subject: Fix to show ERR_NEEDMOREPARAMS for cmd_userhost and cmd_ison --- src/commands/cmd_ison.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/commands/cmd_ison.cpp') 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}"; } + CommandIson ( Module* parent) : Command(parent,"ISON", 1) { + syntax = " {nick}"; + } /** Handle command. * @param parameters The parameters to the comamnd * @param pcnt The number of parameters passed to teh command -- cgit v1.2.3