From dd6f545ab6ed7e6ce0800431addef6af0d2610c5 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Thu, 7 Feb 2019 11:57:33 +0000 Subject: Fix an unintentionally inverted condition in core_oper. --- src/coremods/core_oper/core_oper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); -- cgit v1.2.3