summaryrefslogtreecommitdiff
path: root/modules/commands/cs_access.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_access.cpp')
-rw-r--r--modules/commands/cs_access.cpp3
1 files changed, 3 insertions, 0 deletions
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)