summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-01-28 17:15:25 +0000
committerPeter Powell <petpow@saberuk.com>2019-01-28 17:26:15 +0000
commit18678c6a22f72152b7dacc356c791868b4e170c4 (patch)
treeaad7574c59933a4ef518b9c819cab274ab09c00e /include/channels.h
parent4818b1bc1b0dd8560b0c83901aa33ecaf6fb1275 (diff)
Add ParamMode::IsParameterSecret and remove special casing of keys.
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/channels.h b/include/channels.h
index 22a373a0f..d346db8ef 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -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 '&lt;KEY&gt;'
+ * @param showsecret If this is set to true, the value of secret parameters
+ * are shown, otherwise they are replaced with '&lt;name&gt;'.
* @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