From ddf306850efb9e4059ecb0506b073b3af4d79dca Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 5 Apr 2022 22:57:14 +0100 Subject: Include the module name in the setter for server-added xlines. --- 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 a590e5b95..c24f03080 100644 --- a/src/modules/m_connectban.cpp +++ b/src/modules/m_connectban.cpp @@ -151,7 +151,7 @@ class ModuleConnectBan CXX11_FINAL if (i->second >= threshold) { // Create Z-line for set duration. - ZLine* zl = new ZLine(ServerInstance->Time(), banduration, ServerInstance->Config->ServerName, banmessage, mask.str()); + ZLine* zl = new ZLine(ServerInstance->Time(), banduration, MODNAME "@" + ServerInstance->Config->ServerName, banmessage, mask.str()); if (!ServerInstance->XLines->AddLine(zl, NULL)) { delete zl; -- cgit v1.3.1-10-gc9f91