diff options
Diffstat (limited to 'src/modules/m_operlevels.cpp')
-rw-r--r-- | src/modules/m_operlevels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp index da3ab18b3..bf5596330 100644 --- a/src/modules/m_operlevels.cpp +++ b/src/modules/m_operlevels.cpp @@ -52,7 +52,7 @@ class ModuleOperLevels : public Module { long dest_level = 0,source_level = 0; // oper killing an oper? - if (strchr(dest->modes,'o')) + if (*dest->oper) { for (int j =0; j < conf->Enumerate("type"); j++) { |