summaryrefslogtreecommitdiff
path: root/include/parammode.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/parammode.h
parent4818b1bc1b0dd8560b0c83901aa33ecaf6fb1275 (diff)
Add ParamMode::IsParameterSecret and remove special casing of keys.
Diffstat (limited to 'include/parammode.h')
-rw-r--r--include/parammode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/parammode.h b/include/parammode.h
index c79d11b6b..313981185 100644
--- a/include/parammode.h
+++ b/include/parammode.h
@@ -31,6 +31,7 @@ class CoreExport ParamModeBase : public ModeHandler
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string& param, bool adding) CXX11_OVERRIDE;
// Does nothing by default
+ virtual bool IsParameterSecret() { return false; }
virtual void OnUnset(User* source, Channel* chan) { }
virtual ModeAction OnSet(User* source, Channel* chan, std::string& param) = 0;
virtual void GetParameter(Channel* chan, std::string& out) = 0;