X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fchannels.h;h=9c231008a3ce28cb8a9bfb079c1bc7120a5610af;hb=1200d6285b1d64699c6fa2c8241e2ee40f52d2a3;hp=605ac8216ed465f86de5bfb47c5e3668df000077;hpb=904161fdba32468ff4d97d9533e62809131ed1a2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/channels.h b/include/channels.h index 605ac8216..9c231008a 100644 --- a/include/channels.h +++ b/include/channels.h @@ -235,8 +235,9 @@ class CoreExport Channel : public Extensible /** Sets the channel topic. * @param u The user setting the topic * @param t The topic to set it to. Non-const, as it may be modified by a hook. + * @param forceset If set to true then all access checks will be bypassed. */ - int SetTopic(User *u, std::string &t); + int SetTopic(User *u, std::string &t, bool forceset = false); /** Obtain the channel "user counter" * This returns the channel reference counter, which is initialized