From 452112ed232834a029ee007f7200e36bc235525f Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 10 Sep 2006 17:55:45 +0000 Subject: Remove unused buffer and call to MakeHost() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5205 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/xline.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/xline.cpp') diff --git a/src/xline.cpp b/src/xline.cpp index a57a52936..a0ac98df2 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -679,7 +679,6 @@ void XLineManager::expire_lines() void XLineManager::apply_lines(const int What) { char reason[MAXBUF]; - char host[MAXBUF]; if ((!glines.size()) && (!klines.size()) && (!zlines.size()) && (!qlines.size()) && (!pglines.size()) && (!pklines.size()) && (!pzlines.size()) && (!pqlines.size())) @@ -690,7 +689,7 @@ void XLineManager::apply_lines(const int What) for (std::vector::const_iterator u2 = ServerInstance->local_users.begin(); u2 != ServerInstance->local_users.end(); u2++) { userrec* u = (userrec*)(*u2); - u->MakeHost(host); + if (elines.size() || pelines.size()) { // ignore people matching exempts -- cgit v1.2.3