diff options
| author | 2012-12-01 21:33:42 +0100 | |
|---|---|---|
| committer | 2012-12-15 21:17:06 +0100 | |
| commit | d00914ed6f5de67ab69c69e1cd1efa0797b5f62d (patch) | |
| tree | d0102cfb6ced04e2eac3d291297a2529fa848383 /src/modules/m_chgident.cpp | |
| parent | m_ident Reject invalid and error replies (diff) | |
| download | inspircd++-d00914ed6f5de67ab69c69e1cd1efa0797b5f62d.tar.gz inspircd++-d00914ed6f5de67ab69c69e1cd1efa0797b5f62d.tar.bz2 inspircd++-d00914ed6f5de67ab69c69e1cd1efa0797b5f62d.zip | |
Add a flag to Command that controls whether an empty last parameter is allowed or not
Diffstat (limited to 'src/modules/m_chgident.cpp')
| -rw-r--r-- | src/modules/m_chgident.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp index 7dfd71c97..2112e45a3 100644 --- a/src/modules/m_chgident.cpp +++ b/src/modules/m_chgident.cpp @@ -31,6 +31,7 @@ class CommandChgident : public Command public: CommandChgident(Module* Creator) : Command(Creator,"CHGIDENT", 2) { + allow_empty_last_param = false; flags_needed = 'o'; syntax = "<nick> <newident>"; TRANSLATE3(TR_NICK, TR_TEXT, TR_END); |
