]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_opermodes.cpp
ISupportManager: Tidy-up, expand comments
[user/henk/code/inspircd.git] / src / modules / m_opermodes.cpp
index 8b49f685e73b5eef372a5f11ce031a240a57f24a..5752ff48d07f9a360de9267627842e1d4916cc7e 100644 (file)
 class ModuleModesOnOper : public Module
 {
  public:
-       void init()
+       void init() CXX11_OVERRIDE
        {
                ServerInstance->Modules->Attach(I_OnPostOper, this);
        }
 
-       virtual ~ModuleModesOnOper()
-       {
-       }
-
-       virtual Version GetVersion()
+       Version GetVersion() CXX11_OVERRIDE
        {
                return Version("Sets (and unsets) modes on opers when they oper up", VF_VENDOR);
        }
 
-       virtual void OnPostOper(User* user, const std::string &opertype, const std::string &opername)
+       void OnPostOper(User* user, const std::string &opertype, const std::string &opername) CXX11_OVERRIDE
        {
                if (!IS_LOCAL(user))
                        return;