From 8f3697e904e16890c230ae249dd9999e79e5f598 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 4 Apr 2026 14:50:06 +0100 Subject: Pass a server reference to OnRouteMessage. --- include/modules/server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules/server.h b/include/modules/server.h index 31eda8ee1..d795db526 100644 --- a/include/modules/server.h +++ b/include/modules/server.h @@ -98,7 +98,7 @@ public: * @return Either MOD_RES_ALLOW to always send the message to the server, MOD_RES_DENY to never * send the message to the server, or MOD_RES_PASSTHRU to not handle the event. */ - virtual ModResult OnRouteMessage(const Channel* channel, const Server* server) { return MOD_RES_PASSTHRU; } + virtual ModResult OnRouteMessage(const Channel* channel, const Server& server) { return MOD_RES_PASSTHRU; } }; -- cgit v1.3.1-10-gc9f91