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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp
index c482e3c66..df724db1e 100644
--- a/modules/commands/cs_access.cpp
+++ b/modules/commands/cs_access.cpp
@@ -469,7 +469,7 @@ class CommandCSAccess : public Command
else if (is_del)
{
const NickAlias *na = findnick(nick);
- if (na && na->nc == source.nc)
+ if (na && na->nc == source.GetAccount())
has_access = true;
}