From 62a01dcc8764c4b41a563c7b840b83b360df3016 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 14 Oct 2014 21:09:41 -0400 Subject: Set access masks to the case of the nick they match, if any --- modules/commands/cs_access.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/commands/cs_access.cpp') diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp index 309105998..7f7032bbe 100644 --- a/modules/commands/cs_access.cpp +++ b/modules/commands/cs_access.cpp @@ -175,6 +175,9 @@ class CommandCSAccess : public Command return; } } + + if (na) + mask = na->nick; } for (unsigned i = ci->GetAccessCount(); i > 0; --i) -- cgit