]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channels.h
Revert earlier time() -> SI->Time() diff for now, this causes problems with dns.cpp...
[user/henk/code/inspircd.git] / include / channels.h
index 605ac8216ed465f86de5bfb47c5e3668df000077..9c231008a3ce28cb8a9bfb079c1bc7120a5610af 100644 (file)
@@ -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