diff options
Diffstat (limited to 'src/modules/m_timedbans.cpp')
| -rw-r--r-- | src/modules/m_timedbans.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index 65db00b88..d8320c58c 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -36,7 +36,7 @@ // Holds a timed ban class TimedBan final { - public: +public: std::string mask; std::string setter; time_t expire; @@ -70,7 +70,7 @@ class CommandTban final return false; } - public: +public: bool sendnotice; CommandTban(Module* Creator) @@ -169,7 +169,7 @@ class CommandTban final class BanWatcher final : public ModeWatcher { - public: +public: BanWatcher(Module* parent) : ModeWatcher(parent, "ban", MODETYPE_CHANNEL) { @@ -199,7 +199,7 @@ class ChannelMatcher final { Channel* const chan; - public: +public: ChannelMatcher(Channel* ch) : chan(ch) { @@ -214,12 +214,12 @@ class ChannelMatcher final class ModuleTimedBans final : public Module { - private: +private: ChanModeReference banmode; CommandTban cmd; BanWatcher banwatcher; - public: +public: ModuleTimedBans() : Module(VF_VENDOR | VF_COMMON, "Adds the /TBAN command which allows channel operators to add bans which will be expired after the specified period.") , banmode(this, "ban") |
