]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/mode.h
Add proper support for "munging" of ipv6 addresses when ::ffff:addr is used (this...
[user/henk/code/inspircd.git] / include / mode.h
index 58586a0017b586da2956e33ee36c09895656acca..6d31d580e846ad9cbc7cf1b78a109846ab89c11a 100644 (file)
@@ -375,6 +375,12 @@ class ModeParser : public classbase
         * @returns a pointer to a ModeHandler class, or NULL of there isnt a handler for the given mode
         */
        ModeHandler* FindMode(unsigned const char modeletter, ModeType mt);
+
+       std::string UserModeList();
+
+       std::string ChannelModeList();
+
+       std::string ParaModeList();
 };
 
 /**
@@ -387,7 +393,7 @@ class cmd_mode : public command_t
        /**
         * Standard constructor
         */
-       cmd_mode () : command_t("MODE",0,1) { }
+       cmd_mode () : command_t("MODE",0,1) { syntax = "<target> <modes> {<mode-parameters>}"; }
        /**
         * Handle MODE
         */