diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-10 17:55:45 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-10 17:55:45 +0000 |
commit | 452112ed232834a029ee007f7200e36bc235525f (patch) | |
tree | 1928588bcb84720d782e5b04d2181ce44c4cc7c1 /src/xline.cpp | |
parent | 55379445da7946cf7f36fd4e0f507c2dfa160847 (diff) |
Remove unused buffer and call to MakeHost()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5205 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/xline.cpp')
-rw-r--r-- | src/xline.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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<userrec*>::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 |