diff options
author | Peter Powell <petpow@saberuk.com> | 2019-02-07 11:57:33 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-02-07 11:57:33 +0000 |
commit | dd6f545ab6ed7e6ce0800431addef6af0d2610c5 (patch) | |
tree | 68216c4836b45754ebed1ae0008a5c5183a83c18 /src | |
parent | 785f3a28666ac2d78c3315f7c9efa6b7fd06a37e (diff) |
Fix an unintentionally inverted condition in core_oper.
Diffstat (limited to 'src')
-rw-r--r-- | src/coremods/core_oper/core_oper.cpp | 2 |
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"); |