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

Fix /join 0

This commit is contained in:
Adam
2013-05-20 23:44:56 -04:00
parent d82391e46d
commit aabc217a6b
+2 -1
View File
@@ -75,7 +75,8 @@ void Join::Run(MessageSource &source, const std::vector<Anope::string> &params)
{
for (User::ChanUserList::iterator it = user->chans.begin(), it_end = user->chans.end(); it != it_end; )
{
ChanUserContainer *cc = it->second++;
ChanUserContainer *cc = it->second;
++it;
Anope::string channame = cc->chan->name;
FOREACH_MOD(I_OnPrePartChannel, OnPrePartChannel(user, cc->chan));