class NoKicks : public SimpleChannelModeHandler
{
public:
- NoKicks(Module* Creator) : SimpleChannelModeHandler(Creator, 'Q') { }
+ NoKicks(Module* Creator) : SimpleChannelModeHandler(Creator, "nokick", 'Q') { }
};
class ModuleNoKicks : public Module
{
if (!memb->chan->GetExtBanStatus(source, 'Q').check(!memb->chan->IsModeSet('Q')))
{
- if ((ServerInstance->ULine(source->nick.c_str())) || (ServerInstance->ULine(source->server)) || (!*source->server))
+ if ((ServerInstance->ULine(source->nick.c_str())) || ServerInstance->ULine(source->server))
{
// ulines can still kick with +Q in place
return MOD_RES_PASSTHRU;
~ModuleNoKicks()
{
- ServerInstance->Modes->DelMode(&nk);
}
Version GetVersion()