diff options
| author | 2024-09-19 15:53:54 +0100 | |
|---|---|---|
| committer | 2024-09-19 15:53:54 +0100 | |
| commit | 4f9830ff2e0d27c8308226bbe2dabe834087f04a (patch) | |
| tree | c930fd7a10f25f2b7594a4a3cd2cc4bc8a0bb1f1 /modules/joinflood.cpp | |
| parent | Add some extra methods to the Server class. (diff) | |
| download | inspircd++-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.cpp | 2 |
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); |
