]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/command_parse.h
Some useful defines for tidy definition of translation lists. See constructor of...
[user/henk/code/inspircd.git] / include / command_parse.h
index 2c3605613efcd4fb4e2aebeeb5afd7f234131e5f..4f8b8000003d1f5e5da3abfac5757691a817d3bd 100644 (file)
@@ -201,6 +201,10 @@ class CoreExport CommandParser : public classbase
         * stdout then exit with EXIT_STATUS_HANDLER.
         */
        void SetupCommandTable(userrec* user);
+
+       /** Translate nicknames in a string into UIDs, based on the TranslationType given.
+        */
+       int TranslateUIDs(TranslateType to, const std::string &source, std::string &dest);
 };
 
 /** Command handler class for the RELOAD command.