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:
+2
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user