diff options
Diffstat (limited to 'src/messages.cpp')
-rw-r--r-- | src/messages.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/messages.cpp b/src/messages.cpp index 1c7b956d1..5a688a89c 100644 --- a/src/messages.cpp +++ b/src/messages.cpp @@ -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)); |