From d4685e02b55229e0ca5068b839c87b5a80180f33 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 19 Nov 2020 19:21:10 +0000 Subject: Avoid doing "IP changed" event stuff on quitting users. --- src/modules/m_connectban.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_connectban.cpp') diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp index 09390bb07..04a73ab82 100644 --- a/src/modules/m_connectban.cpp +++ b/src/modules/m_connectban.cpp @@ -105,7 +105,7 @@ class ModuleConnectBan void OnSetUserIP(LocalUser* u) CXX11_OVERRIDE { - if (u->exempt) + if (u->exempt || u->quitting) return; irc::sockets::cidr_mask mask(u->client_sa, GetRange(u)); -- cgit v1.2.3