diff options
author | Adam <Adam@anope.org> | 2010-10-24 13:46:56 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-24 13:46:56 -0400 |
commit | 1d931401cd00848b7ba10c13b0e2771935395aa6 (patch) | |
tree | a0bc1786369e7d915d717f66174b606fb112332d | |
parent | bd7b6b16ece7ca2213d38e0a12a63bf6f434434a (diff) |
Fixed the other half of bug #1200
-rw-r--r-- | modules/core/cs_xop.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/cs_xop.cpp b/modules/core/cs_xop.cpp index 6e65918a9..4dbd09525 100644 --- a/modules/core/cs_xop.cpp +++ b/modules/core/cs_xop.cpp @@ -394,7 +394,9 @@ class XOPBase : public Command { ChanAccess *access = ci->GetAccess(i); - if (!nick.empty() && access->nc && !Anope::Match(access->nc->display, nick)) + if (access->level != level) + continue; + else if (!nick.empty() && access->nc && !Anope::Match(access->nc->display, nick)) continue; if (!SentHeader) |