summaryrefslogtreecommitdiff
path: root/include/modes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/modes.h b/include/modes.h
index 9c5916c0f..729e979d4 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -107,6 +107,8 @@ class CoreExport ChannelMode : public Mode
bool CanSet(User *u) const anope_override;
+ virtual void Check() { }
+
/** 'wrap' this channel mode and param to the underlying mode and param
*/
virtual ChannelMode *Wrap(Anope::string &param);
@@ -215,6 +217,8 @@ class CoreExport ChannelModeVirtual : public T
~ChannelModeVirtual();
+ void Check() anope_override;
+
ChannelMode *Wrap(Anope::string &param) anope_override;
ChannelMode *Unwrap(ChannelMode *cm, Anope::string &param) = 0;