1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 19:36: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
+3 -3
View File
@@ -548,9 +548,9 @@ static void LoadOperInfo(const std::vector<Anope::string> &params)
time_t expires = params[6].is_pos_number_only() ? convertTo<time_t>(params[6]) : 0;
Anope::string reason = params[7];
XLine *x = xl->Add(mask, by, expires, reason);
if (x)
x->Created = seton;
XLine *x = new XLine(mask, by, expires, reason, XLineManager::GenerateUID());
x->Created = seton;
xl->AddXLine(x);
break;
}
}