aboutsummaryrefslogtreecommitdiffstats
path: root/modules/joinflood.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/joinflood.cpp
parentAdd some extra methods to the Server class. (diff)
downloadinspircd++-4f9830ff2e0d27c8308226bbe2dabe834087f04a.tar.gz
inspircd++-4f9830ff2e0d27c8308226bbe2dabe834087f04a.tar.bz2
inspircd++-4f9830ff2e0d27c8308226bbe2dabe834087f04a.zip
Make the server protocol APIs use a reference instead of a pointer.
Diffstat (limited to 'modules/joinflood.cpp')
-rw-r--r--modules/joinflood.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/joinflood.cpp b/modules/joinflood.cpp
index 4d7b16bfe..654f74441 100644
--- a/modules/joinflood.cpp
+++ b/modules/joinflood.cpp
@@ -162,7 +162,7 @@ public:
ignoreuntil = ServerInstance->StartTime + bootwait;
}
- 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);