1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 01:06:37 +02:00

Use the same object for chanusercontainer and userchancontainer

This commit is contained in:
Adam
2012-12-28 10:37:54 -05:00
parent 379b2ccf92
commit b591e8cdc8
33 changed files with 116 additions and 133 deletions
+2 -2
View File
@@ -108,8 +108,8 @@ Server::Server(Server *up, const Anope::string &sname, unsigned shops, const Ano
if (c->users.empty())
IRCD->SendChannel(c);
else
for (CUserList::const_iterator cit = c->users.begin(), cit_end = c->users.end(); cit != cit_end; ++cit)
IRCD->SendJoin((*cit)->user, c, (*cit)->status);
for (User::ChanUserList::const_iterator cit = c->users.begin(), cit_end = c->users.end(); cit != cit_end; ++cit)
IRCD->SendJoin((*cit)->user, c, &(*cit)->status);
}
}
}