1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 08:33:12 +02:00

Fixed sometimes not removing nick masks from the access list when the group is dropped

This commit is contained in:
Adam
2011-05-01 18:41:54 -04:00
parent 036b3c9053
commit 4a3c64291f
10 changed files with 102 additions and 81 deletions
+1 -1
View File
@@ -815,7 +815,7 @@ class DBPlain : public Module
if (ci->HasFlag(CI_FORBIDDEN))
db_buffer << "MD FORBID " << ci->forbidby << " :" << ci->forbidreason << endl;
for (unsigned k = 0, end = ci->GetAccessCount(); k < end; ++k)
db_buffer << "MD ACCESS " << ci->GetAccess(k)->mask << " " << ci->GetAccess(k)->level << " " << ci->GetAccess(k)->last_seen << " " << ci->GetAccess(k)->creator << endl;
db_buffer << "MD ACCESS " << ci->GetAccess(k)->GetMask() << " " << ci->GetAccess(k)->level << " " << ci->GetAccess(k)->last_seen << " " << ci->GetAccess(k)->creator << endl;
for (unsigned k = 0, end = ci->GetAkickCount(); k < end; ++k)
{
db_buffer << "MD AKICK 0 " << (ci->GetAkick(k)->HasFlag(AK_ISNICK) ? "NICK " : "MASK ") <<