]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
The bug we fixed for bug #506 may still occur in trunk if a module adjusts the nick...
[user/henk/code/inspircd.git] / include / users.h
index a12282ac92050b3e1a61556150348d5039432f32..74b55202d5db4375a67119711245e07923bb1b94 100644 (file)
@@ -458,12 +458,16 @@ class CoreExport User : public connection
        std::map<std::string, bool>* AllowedOperCommands;
 
        /** Allowed user modes from oper classes. */
-       bool AllowedUserModes[64];
+       bool* AllowedUserModes;
 
        /** Allowed channel modes from oper classes. */
-       bool AllowedChanModes[64];
+       bool* AllowedChanModes;
 
  public:
+       /** Module responsible for raw i/o
+        */
+       Module* io;
+
        /** Contains a pointer to the connect class a user is on from - this will be NULL for remote connections.
         * The pointer is guarenteed to *always* be valid. :)
         */