summaryrefslogtreecommitdiff
path: root/modules/commands/cs_xop.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-10-14 21:09:41 -0400
committerAdam <Adam@anope.org>2014-10-14 21:09:41 -0400
commit62a01dcc8764c4b41a563c7b840b83b360df3016 (patch)
treeed0f97a2bc1c5bc50dcae53a55aeef99bd7dfcba /modules/commands/cs_xop.cpp
parent0cd3bfa24fccea79a5055bcd12d6aa607ecc635e (diff)
Set access masks to the case of the nick they match, if any
Diffstat (limited to 'modules/commands/cs_xop.cpp')
-rw-r--r--modules/commands/cs_xop.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/commands/cs_xop.cpp b/modules/commands/cs_xop.cpp
index bf86c06ce..9524446ea 100644
--- a/modules/commands/cs_xop.cpp
+++ b/modules/commands/cs_xop.cpp
@@ -176,6 +176,9 @@ class CommandCSXOP : public Command
return;
}
}
+
+ if (na)
+ mask = na->nick;
}
for (unsigned i = 0; i < ci->GetAccessCount(); ++i)