]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/inspircd.h
removed sys/select.h on windows platform
[user/henk/code/inspircd.git] / include / inspircd.h
index 4a013fbc6218805df4f0b8843b1a6736492add7a..fb6b313a2d4c4b866d22db57f95ac42dd7e585e4 100644 (file)
@@ -669,24 +669,6 @@ class CoreExport InspIRCd : public classbase
         */
        caller1<User*, int> FindDescriptor;
 
-       /** Add a new mode to this server's mode parser
-        * @param mh The modehandler to add
-        * @return True if the mode handler was added
-        */
-       bool AddMode(ModeHandler* mh);
-
-       /** Add a new mode watcher to this server's mode parser
-        * @param mw The modewatcher to add
-        * @return True if the modewatcher was added
-        */
-       bool AddModeWatcher(ModeWatcher* mw);
-
-       /** Delete a mode watcher from this server's mode parser
-        * @param mw The modewatcher to delete
-        * @return True if the modewatcher was deleted
-        */
-       bool DelModeWatcher(ModeWatcher* mw);
-
        /** Add a dns Resolver class to this server's active set
         * @param r The resolver to add
         * @param cached If this value is true, then the cache will
@@ -797,15 +779,16 @@ class CoreExport InspIRCd : public classbase
         */
        long Duration(const std::string &str);
 
-       /** Attempt to compare an oper password to a string from the config file.
+       /** Attempt to compare a password to a string from the config file.
         * This will be passed to handling modules which will compare the data
         * against possible hashed equivalents in the input string.
+        * @param ex The object (user, server, whatever) causing the comparison.
         * @param data The data from the config file
         * @param input The data input by the oper
-        * @param tagnum the tag number of the oper's tag in the config file
+        * @param hashtype The hash from the config file
         * @return 0 if the strings match, 1 or -1 if they do not
         */
-       int OperPassCompare(const char* data,const char* input, int tagnum);
+       int PassCompare(Extensible* ex, const char* data,const char* input, const char* hashtype);
 
        /** Check if a given server is a uline.
         * An empty string returns true, this is by design.