]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/mode.h
Move list of open ports out of Config object
[user/henk/code/inspircd.git] / include / mode.h
index 525a262082e371b10cbe6660ee1f2ff00c77da19..280284bfa8c77b775f2e6009dfacf0a758ba1857 100644 (file)
@@ -3,7 +3,7 @@
  *       +------------------------------------+
  *
  *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -445,6 +445,8 @@ class CoreExport ModeParser : public classbase
         * Use GetLastParse() to get this value, to be used for  display purposes.
         */
        std::string LastParse;
+       std::deque<std::string> LastParseParams;
+       std::deque<TranslateType> LastParseTranslate;
 
        unsigned int sent[256];
 
@@ -486,6 +488,8 @@ class CoreExport ModeParser : public classbase
         * @return Last parsed string, as seen by users.
         */
        const std::string& GetLastParse();
+       const std::deque<std::string>& GetLastParseParams() { return LastParseParams; }
+       const std::deque<TranslateType>& GetLastParseTranslate() { return LastParseTranslate; }
        /** Add a mode to the mode parser.
         * @return True if the mode was successfully added.
         */