]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/channels.h
Fix building against older versions of glibc.
[user/henk/code/inspircd.git] / include / channels.h
index 22a373a0fa155d50dd4d34e3efa4d3643b7b7782..d346db8ef791271e6ad6e7f7eaca401207f78912 100644 (file)
@@ -248,11 +248,11 @@ class CoreExport Channel : public Extensible
        void Write(ClientProtocol::EventProvider& protoevprov, ClientProtocol::Message& msg, char status = 0, const CUList& except_list = CUList());
 
        /** Return the channel's modes with parameters.
-        * @param showkey If this is set to true, the actual key is shown,
-        * otherwise it is replaced with '<KEY>'
+        * @param showsecret If this is set to true, the value of secret parameters
+        * are shown, otherwise they are replaced with '<name>'.
         * @return The channel mode string
         */
-       const char* ChanModes(bool showkey);
+       const char* ChanModes(bool showsecret);
 
        /** Get the value of a users prefix on this channel.
         * @param user The user to look up