diff options
author | Adam <Adam@anope.org> | 2012-02-14 15:13:27 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-14 15:13:27 -0500 |
commit | a9772cde21407c89abd161d51aff45267f87b1fb (patch) | |
tree | 9e57ba6c121d3843888917d968dd4f5d030b57cf /modules/commands/os_session.cpp | |
parent | 086790d6331357022f4da17c76b26b9fc6e2ad90 (diff) |
Clean up and reorganize our header files
Diffstat (limited to 'modules/commands/os_session.cpp')
-rw-r--r-- | modules/commands/os_session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_session.cpp b/modules/commands/os_session.cpp index 12267b651..d89fbe1a6 100644 --- a/modules/commands/os_session.cpp +++ b/modules/commands/os_session.cpp @@ -38,7 +38,7 @@ class MySessionService : public SessionService for (std::vector<Exception *>::const_iterator it = this->Exceptions.begin(), it_end = this->Exceptions.end(); it != it_end; ++it) { Exception *e = *it; - if (Anope::Match(u->host, e->mask) || (u->ip() && Anope::Match(u->ip.addr(), e->mask))) + if (Anope::Match(u->host, e->mask) || Anope::Match(u->ip, e->mask)) return e; } return NULL; |