diff options
author | Adam <Adam@anope.org> | 2011-02-27 22:12:51 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-02-27 22:12:51 -0500 |
commit | fdcb7e56ae21c9bccfa65822e74b381e6d467def (patch) | |
tree | 83a70f0a185e43619e4455a2d3a8d38f68dfabf7 /src/operserv.cpp | |
parent | 0d1a0e8db94cdbffbf72a90800c327e6e42aa8b4 (diff) |
Don't burst SXLines when we link because its unnecessary and fixed applying SQLines
Diffstat (limited to 'src/operserv.cpp')
-rw-r--r-- | src/operserv.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/operserv.cpp b/src/operserv.cpp index 5ab792c92..316e1661d 100644 --- a/src/operserv.cpp +++ b/src/operserv.cpp @@ -252,17 +252,6 @@ std::pair<XLineManager *, XLine *> XLineManager::CheckAll(User *u) return ret; } -void XLineManager::Burst() -{ - for (std::list<XLineManager *>::iterator it = XLineManagers.begin(), it_end = XLineManagers.end(); it != it_end; ++it) - { - XLineManager *xlm = *it; - - for (std::vector<XLine *>::const_iterator it2 = xlm->GetList().begin(), it2_end = xlm->GetList().end(); it2 != it2_end; ++it2) - xlm->Send(*it2); - } -} - /** Get the number of XLines in this XLineManager * @return The number of XLines */ @@ -763,7 +752,7 @@ bool SQLineManager::Check(Channel *c) { if (ircd->chansqline && SQLine) { - for (std::vector<XLine *>::const_iterator it = SGLine->GetList().begin(), it_end = SGLine->GetList().end(); it != it_end; ++it) + for (std::vector<XLine *>::const_iterator it = SQLine->GetList().begin(), it_end = SQLine->GetList().end(); it != it_end; ++it) { XLine *x = *it; |