diff options
| author | Adam <Adam@anope.org> | 2017-11-19 16:11:35 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2017-11-19 16:11:35 -0500 |
| commit | 2fda0fff4655e92e388d7823e5b1c1f0c6bcfe2d (patch) | |
| tree | b2cde60f3c2c98782690d67d134263924f59cc78 /modules/memoserv/read.cpp | |
| parent | 3fb9bb5118a5c3c6c916a48feed0e069867f3133 (diff) | |
Add subcommand syntax help, and reference subcommand help in syntax error messages
Diffstat (limited to 'modules/memoserv/read.cpp')
| -rw-r--r-- | modules/memoserv/read.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/memoserv/read.cpp b/modules/memoserv/read.cpp index 60fc98b0c..4a2168675 100644 --- a/modules/memoserv/read.cpp +++ b/modules/memoserv/read.cpp @@ -124,7 +124,7 @@ class CommandMSRead : public Command if (numstr.empty() || (!numstr.equals_ci("LAST") && !numstr.equals_ci("NEW") && !numstr.equals_ci("ALL") && numstr.find_first_not_of("0123456789.,-") != Anope::string::npos)) { - this->OnSyntaxError(source, numstr); + this->OnSyntaxError(source); return; } |
