summaryrefslogtreecommitdiff
path: root/modules/database/db_old.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-05-14 19:10:23 -0400
committerAdam <Adam@anope.org>2014-05-14 19:10:23 -0400
commitdf321a118e7dd44dcd3a389f8ee75e9ff915b55e (patch)
treef77aa4b3a73884c4a095df12be692292c8694bc0 /modules/database/db_old.cpp
parent1931fcf0e5ffe34005d134e49c55d1b6239d1a6c (diff)
Fix access lists showing the wrong mask if the display nick for a group
expires but the group still exists. This can cause access entries for nicks to not be deleted whenever the nicks are deleted.
Diffstat (limited to 'modules/database/db_old.cpp')
-rw-r--r--modules/database/db_old.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp
index b49a6c46e..b73afbc41 100644
--- a/modules/database/db_old.cpp
+++ b/modules/database/db_old.cpp
@@ -898,7 +898,7 @@ static void LoadChannels()
Anope::string mask;
READ(read_string(mask, f));
if (access)
- access->mask = mask;
+ access->SetMask(mask, ci);
READ(read_int32(&tmp32, f));
if (access)