From 4f9830ff2e0d27c8308226bbe2dabe834087f04a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 19 Sep 2024 15:53:54 +0100 Subject: Make the server protocol APIs use a reference instead of a pointer. --- modules/connectban.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/connectban.cpp') diff --git a/modules/connectban.cpp b/modules/connectban.cpp index 393d24fc6..1e22d6923 100644 --- a/modules/connectban.cpp +++ b/modules/connectban.cpp @@ -124,7 +124,7 @@ public: iter->second--; } - void OnServerSplit(const Server* server, bool error) override + void OnServerSplit(const Server& server, bool error) override { if (splitwait) ignoreuntil = std::max(ignoreuntil, ServerInstance->Time() + splitwait); -- cgit v1.3.1-10-gc9f91