diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:40:23 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:48:55 +0000 |
| commit | b5b3c744778ed0cbceb03f2f8dbbec33d2fd0e94 (patch) | |
| tree | e6d8a7c143a11035be55ffffcdc97395eb5b4e25 /modules/chanserv/cs_mode.cpp | |
| parent | 73d4ac6de04a1035ac36182d3f269cc938c6bc19 (diff) | |
Make functions that don't use `this` static.
Diffstat (limited to 'modules/chanserv/cs_mode.cpp')
| -rw-r--r-- | modules/chanserv/cs_mode.cpp | 2 |
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; |
