}
}
- virtual ~ModuleDenyChannels()
- {
- }
-
virtual Version GetVersion()
{
return Version("Implements config tags which allow blocking of joins to channels", VF_VENDOR);
{
if (InspIRCd::Match(cname, j->second->getString("name")))
{
- if (IS_OPER(user) && j->second->getBool("allowopers"))
+ if (user->IsOper() && j->second->getBool("allowopers"))
{
return MOD_RES_PASSTHRU;
}