From 6c72a0cf588a8df35ceeb2628ca358727a33cfa0 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 31 Oct 2007 20:10:29 +0000 Subject: Make it all compile. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8443 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_antibear.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/modules/m_antibear.cpp') diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp index 0c65adab3..aecf143ec 100644 --- a/src/modules/m_antibear.cpp +++ b/src/modules/m_antibear.cpp @@ -48,10 +48,8 @@ class ModuleAntiBear : public Module { ZLine* zl = new ZLine(ServerInstance, ServerInstance->Time(), 86400, ServerInstance->Config->ServerName, "Unless you're stuck in a time warp, you appear to be a bear bot!", user->GetIPString()); - if (ServerInstance->XLines->AddLine(zl)) + if (ServerInstance->XLines->AddLine(zl,NULL)) { - // XXX move events into the xline manager - FOREACH_MOD(I_OnAddGLine,OnAddZLine(86400, NULL, "Unless you're stuck in a time warp, you appear to be a bear bot!", user->MakeHostIP())); ServerInstance->XLines->ApplyLines(); } else -- cgit v1.2.3