diff options
Diffstat (limited to 'src/modules/m_denychans.cpp')
-rw-r--r-- | src/modules/m_denychans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp index 3646690fb..db42ab43a 100644 --- a/src/modules/m_denychans.cpp +++ b/src/modules/m_denychans.cpp @@ -61,7 +61,7 @@ class ModuleDenyChannels : public Module { if (match(cname, Conf->ReadValue("badchan","name",j).c_str())) { - if ((Conf->ReadFlag("badchan","allowopers",j)) && *user->oper) + if (IS_OPER(user) && Conf->ReadFlag("badchan","allowopers",j)) { return 0; } |