diff options
| author | 2008-10-25 16:41:13 +0000 | |
|---|---|---|
| committer | 2008-10-25 16:41:13 +0000 | |
| commit | dcfd227ffbfb11833663c1f96490d41537b4f496 (patch) | |
| tree | 7a3160c5aad410c547688f571381057c939a0a5f /src/modules/m_chgname.cpp | |
| parent | Explain the duplicate OnPreCommand call. (diff) | |
| download | inspircd++-dcfd227ffbfb11833663c1f96490d41537b4f496.tar.gz inspircd++-dcfd227ffbfb11833663c1f96490d41537b4f496.tar.bz2 inspircd++-dcfd227ffbfb11833663c1f96490d41537b4f496.zip | |
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
Diffstat (limited to 'src/modules/m_chgname.cpp')
| -rw-r--r-- | src/modules/m_chgname.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp index 37c7e9ff8..66aa53c6c 100644 --- a/src/modules/m_chgname.cpp +++ b/src/modules/m_chgname.cpp @@ -20,7 +20,7 @@ class CommandChgname : public Command { public: - CommandChgname (InspIRCd* Instance) : Command(Instance,"CHGNAME", "o", 2) + CommandChgname (InspIRCd* Instance) : Command(Instance,"CHGNAME", "o", 2, 2) { this->source = "m_chgname.so"; syntax = "<nick> <newname>"; |
