From dcfd227ffbfb11833663c1f96490d41537b4f496 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 25 Oct 2008 16:41:13 +0000 Subject: Fix a number of commands to have max_params field. This means in practice, that colons on gline reasons (etc) are no longer mandatory, provided the command tells the core how many parameters at max it has. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10718 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_shun.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_shun.cpp') diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index 739bfb36a..c39962658 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -73,9 +73,10 @@ class cmd_shun : public Command InspIRCd *Srv; public: - cmd_shun(InspIRCd* Me) : Command(Me, "SHUN", "o", 1), Srv(Me) + cmd_shun(InspIRCd* Me) : Command(Me, "SHUN", "o", 1, 3), Srv(Me) { this->source = "m_shun.so"; + this->syntax = " [] :"; } CmdResult Handle(const std::vector& parameters, User *user) -- cgit v1.2.3