diff options
Diffstat (limited to 'src/modules/m_restrictchans.cpp')
| -rw-r--r-- | src/modules/m_restrictchans.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp index ded33cdf4..ba88afa68 100644 --- a/src/modules/m_restrictchans.cpp +++ b/src/modules/m_restrictchans.cpp @@ -31,7 +31,7 @@ typedef insp::flat_set<std::string, irc::insensitive_swo> AllowChans; class ModuleRestrictChans : public Module { AllowChans allowchans; - bool allowregistered; + bool allowregistered = false; bool CanCreateChannel(LocalUser* user, const std::string& name) { @@ -52,11 +52,6 @@ class ModuleRestrictChans : public Module } public: - ModuleRestrictChans() - : allowregistered(false) - { - } - void ReadConfig(ConfigStatus& status) override { AllowChans newallows; |
