aboutsummaryrefslogtreecommitdiffstats
path: root/modules/disable.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/disable.cpp
parentMerge 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.cpp2
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.