1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 10:23:14 +02:00

Fixed compile

This commit is contained in:
Adam
2011-03-14 20:16:38 -04:00
parent 2555d0d637
commit ddfb16de1a
32 changed files with 122 additions and 158 deletions
+6 -2
View File
@@ -46,9 +46,13 @@ class ngIRCdProto : public IRCDProto
void SendAkill(User *u, const XLine *x)
{
if (SGLine && u == NULL)
for (patricia_tree<User *, ci::ci_char_traits>::iterator it(UserListByNick); it.next();)
if (SGLine->Check(*it) != NULL)
for (Anope::insensitive_map<User *>::iterator it = UserListByNick.begin(); it != UserListByNick.end();)
{
u = it->second;
++it;
if (SGLine->Check(u) != NULL)
break;
}
}
void SendAkillDel(const XLine*) { }