diff options
Diffstat (limited to 'src/modules/m_operjoin.cpp')
| -rw-r--r-- | src/modules/m_operjoin.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp index c53375e70..7f0360f87 100644 --- a/src/modules/m_operjoin.cpp +++ b/src/modules/m_operjoin.cpp @@ -28,10 +28,16 @@ class ModuleOperjoin : public Module { + private: std::vector<std::string> operChans; bool override; public: + ModuleOperjoin() + : Module(VF_VENDOR, "Forces opers to join the specified channel(s) on oper-up") + { + } + void ReadConfig(ConfigStatus& status) override { ConfigTag* tag = ServerInstance->Config->ConfValue("operjoin"); @@ -44,11 +50,6 @@ class ModuleOperjoin : public Module operChans.push_back(channame); } - Version GetVersion() override - { - return Version("Forces opers to join the specified channel(s) on oper-up", VF_VENDOR); - } - void OnPostOper(User* user, const std::string &opertype, const std::string &opername) override { LocalUser* localuser = IS_LOCAL(user); |
