From 256bd915256ac1eb57065a2c885da804871e1fae Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Wed, 23 Feb 2011 01:50:12 +0000 Subject: [PATCH] Fix a incorrect Doxygen comment for CModCommand::HandleCommand OnUnknownModCommand is called if a command isn't found, and HandleHelpCommand is never called. --- Modules.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules.h b/Modules.h index ab272d13..da421252 100644 --- a/Modules.h +++ b/Modules.h @@ -824,8 +824,8 @@ public: const CModCommand* FindCommand(const CString& sCmd) const; /** This function tries to dispatch the given command via the correct * instance of CModCommand. Before this can be called, commands have to - * be added via AddCommand(). If no "help" command is added, this - * function will call HandleHelpCommand. + * be added via AddCommand(). If no matching commands are found then + * OnUnknownModCommand will be called. * @param sLine The command line to handle. * @return True if something was done, else false. */