aboutsummaryrefslogtreecommitdiffstats
path: root/modules/services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services.cpp')
-rw-r--r--modules/services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/services.cpp b/modules/services.cpp
index c5ad7ad4b..6915de7ed 100644
--- a/modules/services.cpp
+++ b/modules/services.cpp
@@ -710,9 +710,9 @@ public:
accountoverrideshold = tag->getBool("accountoverrideshold");
}
- ModResult OnRouteMessage(const Channel* channel, const Server* server) override
+ ModResult OnRouteMessage(const Channel* channel, const Server& server) override
{
- if (!server->IsService() || !auspexext.Get(channel))
+ if (!server.IsService() || !auspexext.Get(channel))
return MOD_RES_PASSTHRU;
// Allow services to see messages in this channel even if not guarded.