aboutsummaryrefslogtreecommitdiff
path: root/modules/sqloper.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-09-09 15:44:38 +0100
committerGravatar Sadie Powell2024-09-09 15:48:02 +0100
commit6204c9636e8ea87d690e1e7c06cbf35d04083586 (patch)
tree9d4e437bc9b5849fb85a716c6ddcea272b137822 /modules/sqloper.cpp
parentMerge branch 'insp4' into master. (diff)
parentSend an ISupport diff when a user moves to a new connect class. (diff)
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/sqloper.cpp')
-rw-r--r--modules/sqloper.cpp8
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.