]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/mode.h
Document ListenSocket class
[user/henk/code/inspircd.git] / include / mode.h
index 2e51946d0d5eb48c18a3524754e3a273c9588d52..f1ef388d30d16071e4adacda50aff5feac5550cc 100644 (file)
@@ -278,6 +278,11 @@ class ModeWatcher : public Extensible
 
 typedef std::vector<ModeWatcher*>::iterator ModeWatchIter;
 
+/** The mode parser handles routing of modes and handling of mode strings.
+ * It marshalls, controls and maintains both ModeWatcher and ModeHandler classes,
+ * parses client to server MODE strings for user and channel modes, and performs
+ * processing for the 004 mode list numeric, amongst other things.
+ */
 class ModeParser : public classbase
 {
  private:
@@ -400,7 +405,7 @@ class cmd_mode : public command_t
        /**
         * Standard constructor
         */
-       cmd_mode () : command_t("MODE",0,1) { syntax = "<target> <modes> {<mode-parameters>}"; }
+       cmd_mode (InspIRCd* Instance) : command_t(Instance,"MODE",0,1) { syntax = "<target> <modes> {<mode-parameters>}"; }
        /**
         * Handle MODE
         */