#include "inspircd.h"
-class NoKicks : public SimpleChannelModeHandler
-{
- public:
- NoKicks(Module* Creator) : SimpleChannelModeHandler(Creator, "nokick", 'Q') { }
-};
-
class ModuleNoKicks : public Module
{
- NoKicks nk;
+ SimpleChannelModeHandler nk;
public:
ModuleNoKicks()
- : nk(this)
+ : nk(this, "nokick", 'Q')
{
}
Version GetVersion() CXX11_OVERRIDE
{
- return Version("Provides channel mode +Q to prevent kicks on the channel.", VF_VENDOR);
+ return Version("Provides channel mode +Q to prevent kicks on the channel", VF_VENDOR);
}
};