diff options
| author | 2026-06-27 15:48:52 +0100 | |
|---|---|---|
| committer | 2026-06-27 15:48:52 +0100 | |
| commit | 4f61815eddce6ebabbad1c089c1e6197eb8eec57 (patch) | |
| tree | 1f75c9bf375a0619f60647b6810aad7e46c5db24 /modules/disable.cpp | |
| parent | Merge the addline/delline source files. (diff) | |
Redocument Write*Numeric and allow mutating values in OnNumeric.
Diffstat (limited to 'modules/disable.cpp')
| -rw-r--r-- | modules/disable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/disable.cpp b/modules/disable.cpp index 5595fcd89..68206cf88 100644 --- a/modules/disable.cpp +++ b/modules/disable.cpp @@ -154,7 +154,7 @@ public: } } - ModResult OnNumeric(User* user, const Numeric::Numeric& numeric) override + ModResult OnNumeric(User* user, Numeric::Numeric& numeric) override { if (numeric.GetNumeric() != RPL_COMMANDS || numeric.GetParams().empty()) return MOD_RES_PASSTHRU; // The numeric isn't the one we care about. |
