From c45fe6715d51a0b6565fee1321c45645883fa749 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 31 Oct 2007 19:51:03 +0000 Subject: Fix up to pass User* git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8442 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/userprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/userprocess.cpp') diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 39d3ad0ec..fd9d3f074 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -30,7 +30,7 @@ void FloodQuitUserHandler::Call(User* current) if (current->registered != REG_ALL) { ZLine* zl = new ZLine(Server, Server->Time(), 0, Server->Config->ServerName, "Flood from unregistered connection", current->GetIPString()); - if (Server->XLines->AddLine(zl)) + if (Server->XLines->AddLine(zl,NULL)) Server->XLines->ApplyLines(); else delete zl; -- cgit v1.2.3