]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
Change that allows the m_override module to not announce a key override for a user...
[user/henk/code/inspircd.git] / include / modules.h
index 8354f34b41e432cf309a0d22aa259feba3cdee80..7b1ee43b480721aa733f4d0d88e685962fe8d3f3 100644 (file)
@@ -545,9 +545,10 @@ class CoreExport Module : public Extensible
         * @param cname The channel name being joined. For new channels this is valid where chan is not.
         * @param privs A string containing the users privilages when joining the channel. For new channels this will contain "@".
         * You may alter this string to alter the user's modes on the channel.
+        * @param keygiven The key given to join the channel, or an empty string if none was provided
         * @return 1 To prevent the join, 0 to allow it.
         */
-       virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs);
+       virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs, const std::string &keygiven);
        
        /** Called whenever a user is about to be kicked.
         * Returning a value of 1 from this function stops the process immediately, causing no