diff options
| author | 2026-06-27 15:48:52 +0100 | |
|---|---|---|
| committer | 2026-06-27 15:48:52 +0100 | |
| commit | 4f61815eddce6ebabbad1c089c1e6197eb8eec57 (patch) | |
| tree | 1f75c9bf375a0619f60647b6810aad7e46c5db24 /modules/hideoper.cpp | |
| parent | Merge 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.cpp | 2 |
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; |
