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:
+2
-1
@@ -75,7 +75,8 @@ void Join::Run(MessageSource &source, const std::vector<Anope::string> ¶ms)
|
||||
{
|
||||
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));
|
||||
|
||||
Reference in New Issue
Block a user