mirror of
https://github.com/anope/anope.git
synced 2026-06-26 00:26:37 +02:00
Changed subcommand parameter of Command's OnHelp() from std::string to ci::string, allows sub-help (like NS SET PASSWORD) to be called without requiring the subcommand to be sent by the user in all caps.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2391 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ Command::~Command()
|
||||
|
||||
CommandReturn Command::Execute(User *u, std::vector<std::string> &) { return MOD_CONT; }
|
||||
|
||||
bool Command::OnHelp(User *u, const std::string &subcommand) { return false; }
|
||||
bool Command::OnHelp(User *u, const ci::string &subcommand) { return false; }
|
||||
|
||||
void Command::OnSyntaxError(User *u) { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user