diff options
Diffstat (limited to 'modules/pseudoclients/operserv.cpp')
| -rw-r--r-- | modules/pseudoclients/operserv.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/pseudoclients/operserv.cpp b/modules/pseudoclients/operserv.cpp index b37247864..0d6c719c8 100644 --- a/modules/pseudoclients/operserv.cpp +++ b/modules/pseudoclients/operserv.cpp @@ -122,10 +122,8 @@ class SQLineManager : public XLineManager XLine *CheckChannel(Channel *c) { - for (std::vector<XLine *>::const_iterator it = this->GetList().begin(), it_end = this->GetList().end(); it != it_end; ++it) + for (auto *x : this->GetList()) { - XLine *x = *it; - if (x->regex) { if (x->regex->Matches(c->name)) |
