diff options
Diffstat (limited to 'modules/sqloper.cpp')
| -rw-r--r-- | modules/sqloper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/sqloper.cpp b/modules/sqloper.cpp index bba318c04..0cd2a4135 100644 --- a/modules/sqloper.cpp +++ b/modules/sqloper.cpp @@ -4,7 +4,7 @@ * Copyright (C) 2019 B00mX0r <b00mx0r@aureus.pw> * Copyright (C) 2018 Dylan Frank <b00mx0r@aureus.pw> * Copyright (C) 2014, 2018 Attila Molnar <attilamolnar@hush.com> - * Copyright (C) 2013, 2017-2023 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2013, 2017-2024 Sadie Powell <sadie@witchery.services> * Copyright (C) 2012 Robby <robby@chatbelgie.be> * Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org> * Copyright (C) 2009 Uli Schlachter <psychon@znc.in> @@ -132,11 +132,11 @@ public: params.push_back(password); // Begin callback to other modules (i.e. sslinfo) now that we completed the DB fetch - ModResult MOD_RESULT; + ModResult modres; std::string origin = "OPER"; - FIRST_MOD_RESULT(OnPreCommand, MOD_RESULT, (origin, params, user, true)); - if (MOD_RESULT == MOD_RES_DENY) + FIRST_MOD_RESULT(OnPreCommand, modres, (origin, params, user, true)); + if (modres == MOD_RES_DENY) return; // Now handle /OPER. |
