X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmode.h;h=894e7bef27b0f1c803a2eedb29c864fdb03369d4;hb=cd095102f471dc86dff08e141208bc9dc38cc78f;hp=3ea4f6d0601e9c73974059347b5f7445b804ec6a;hpb=985c2bd1e6ea0bba467143406b83ba4a9f77fce1;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/mode.h b/include/mode.h index 3ea4f6d06..894e7bef2 100644 --- a/include/mode.h +++ b/include/mode.h @@ -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.