summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/coremods/core_oper/core_oper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_oper/core_oper.cpp b/src/coremods/core_oper/core_oper.cpp
index dba34cc6b..eaa1a044b 100644
--- a/src/coremods/core_oper/core_oper.cpp
+++ b/src/coremods/core_oper/core_oper.cpp
@@ -58,7 +58,7 @@ class CoreModOper : public Module
void OnPostOper(User* user, const std::string&, const std::string&) CXX11_OVERRIDE
{
LocalUser* luser = IS_LOCAL(user);
- if (luser)
+ if (!luser)
return;
const std::string vhost = luser->oper->getConfig("vhost");