+ /* Ambiguous command, list the matches */
+ if (!matchlist.empty())
+ {
+ user->WriteNumeric(420, ":Ambiguous abbreviation, posssible matches: %s%s", foundcommand.c_str(), matchlist.c_str());
+ return MOD_RES_DENY;
+ }
+
+ if (!foundcommand.empty())
+ {
+ command = foundcommand;
+ }
+
+ return MOD_RES_PASSTHRU;