diff options
Diffstat (limited to 'include/modules/cs_mode.h')
-rw-r--r-- | include/modules/cs_mode.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/modules/cs_mode.h b/include/modules/cs_mode.h index 52ca31376..22017c9e7 100644 --- a/include/modules/cs_mode.h +++ b/include/modules/cs_mode.h @@ -9,6 +9,8 @@ * Based on the original code of Services by Andy Church. */ +#pragma once + struct ModeLock { Anope::string ci; @@ -18,16 +20,16 @@ struct ModeLock Anope::string setter; time_t created; - virtual ~ModeLock() { } - protected: - ModeLock() { } + virtual ~ModeLock() = default; +protected: + ModeLock() = default; }; struct ModeLocks { typedef std::vector<ModeLock *> ModeList; - virtual ~ModeLocks() { } + virtual ~ModeLocks() = default; /** Check if a mode is mlocked * @param mode The mode |