diff options
author | Adam <Adam@anope.org> | 2013-05-20 23:44:56 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-20 23:45:41 -0400 |
commit | aabc217a6b002b8103aefcfc96a823923102cb61 (patch) | |
tree | 0ab0af13e5c63bac3bf6e5e2ff1aeda5b747ace9 /src/messages.cpp | |
parent | d82391e46d6e9065a73a710e76e7e46cfccd5f4f (diff) |
Fix /join 0
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)); |