1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 15:06:38 +02:00

Added akill ids

This commit is contained in:
Adam
2011-10-22 11:21:21 -04:00
parent ad2ef75cbe
commit c8b3809fc9
15 changed files with 278 additions and 272 deletions
+12 -12
View File
@@ -920,9 +920,9 @@ static void LoadOper()
if (!akill)
continue;
XLine *x = akill->Add(user + "@" + host, by, expires, reason);
if (x)
x->Created = seton;
XLine *x = new XLine(user + "@" + host, by, expires, reason, XLineManager::GenerateUID());
x->Created = seton;
akill->AddXLine(x);
}
read_int16(&capacity, f); // SNLines
@@ -940,9 +940,9 @@ static void LoadOper()
if (!snline)
continue;
XLine *x = snline->Add(mask, by, expires, reason);
if (x)
x->Created = seton;
XLine *x = new XLine(mask, by, expires, reason, XLineManager::GenerateUID());
x->Created = seton;
snline->AddXLine(x);
}
read_int16(&capacity, f); // SQLines
@@ -960,9 +960,9 @@ static void LoadOper()
if (!sqline)
continue;
XLine *x = sqline->Add(mask, by, expires, reason);
if (x)
x->Created = seton;
XLine *x = new XLine(mask, by, expires, reason, XLineManager::GenerateUID());
x->Created = seton;
sqline->AddXLine(x);
}
read_int16(&capacity, f); // SZLines
@@ -980,9 +980,9 @@ static void LoadOper()
if (!szline)
continue;
XLine *x = szline->Add(mask, by, expires, reason);
if (x)
x->Created = seton;
XLine *x = new XLine(mask, by, expires, reason, XLineManager::GenerateUID());
x->Created = seton;
szline->AddXLine(x);
}
close_db(f);