]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/mode.h
Don't neglect calling User::CheckClass after SetClass, so that users don't end up...
[user/henk/code/inspircd.git] / include / mode.h
index 3ea4f6d0601e9c73974059347b5f7445b804ec6a..894e7bef27b0f1c803a2eedb29c864fdb03369d4 100644 (file)
@@ -211,6 +211,10 @@ class CoreExport ModeHandler : public Extensible
         */
        char GetModeChar();
 
+       /** For user modes, return the current parameter, if any
+        */
+       virtual std::string GetUserParameter(User* useor);
+
        /**
         * Called when a mode change for your mode occurs.
         * @param source Contains the user setting the mode.