aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hideoper.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-06-27 15:48:52 +0100
committerGravatar Sadie Powell2026-06-27 15:48:52 +0100
commit4f61815eddce6ebabbad1c089c1e6197eb8eec57 (patch)
tree1f75c9bf375a0619f60647b6810aad7e46c5db24 /modules/hideoper.cpp
parentMerge the addline/delline source files. (diff)
Redocument Write*Numeric and allow mutating values in OnNumeric.
Diffstat (limited to 'modules/hideoper.cpp')
-rw-r--r--modules/hideoper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hideoper.cpp b/modules/hideoper.cpp
index 4ce3c0fac..321d3cd45 100644
--- a/modules/hideoper.cpp
+++ b/modules/hideoper.cpp
@@ -83,7 +83,7 @@ public:
hm.opercount--;
}
- ModResult OnNumeric(User* user, const Numeric::Numeric& numeric) override
+ ModResult OnNumeric(User* user, Numeric::Numeric& numeric) override
{
if (numeric.GetNumeric() != RPL_LUSEROP || active || user->HasPrivPermission("users/auspex"))
return MOD_RES_PASSTHRU;