summaryrefslogtreecommitdiff
path: root/modules/chanserv/cs_mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/cs_mode.cpp')
-rw-r--r--modules/chanserv/cs_mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/cs_mode.cpp b/modules/chanserv/cs_mode.cpp
index 3aa8e709d..631196c7a 100644
--- a/modules/chanserv/cs_mode.cpp
+++ b/modules/chanserv/cs_mode.cpp
@@ -247,7 +247,7 @@ Serializable *ModeLockImpl::Unserialize(Serializable *obj, Serialize::Data &data
class CommandCSMode final
: public Command
{
- bool CanSet(CommandSource &source, ChannelInfo *ci, ChannelMode *cm, bool self)
+ static bool CanSet(CommandSource &source, ChannelInfo *ci, ChannelMode *cm, bool self)
{
if (!ci || !cm || cm->type != MODE_STATUS)
return false;