aboutsummaryrefslogtreecommitdiffstats
path: root/modules/connectban.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-09-19 15:53:54 +0100
committerGravatar Sadie Powell2024-09-19 15:53:54 +0100
commit4f9830ff2e0d27c8308226bbe2dabe834087f04a (patch)
treec930fd7a10f25f2b7594a4a3cd2cc4bc8a0bb1f1 /modules/connectban.cpp
parentAdd some extra methods to the Server class. (diff)
Make the server protocol APIs use a reference instead of a pointer.
Diffstat (limited to 'modules/connectban.cpp')
-rw-r--r--modules/connectban.cpp2
1 files changed, 1 insertions, 1 deletions
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<time_t>(ignoreuntil, ServerInstance->Time() + splitwait);