diff options
author | Adam <Adam@anope.org> | 2013-07-02 01:56:13 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-02 01:56:13 -0400 |
commit | c62b3cb275800555f4e04f294d432dccf909d134 (patch) | |
tree | b58a4d88436883ff7af29c4fa5fb0e1ca9986b1e /modules/commands/os_chankill.cpp | |
parent | 1a3d9a016d3adc49788bbff73aac9b3b5ea85b17 (diff) |
Fix a few issues found by Attila (invalid array access in channel set events, os_chankill inf loop)
Diffstat (limited to 'modules/commands/os_chankill.cpp')
-rw-r--r-- | modules/commands/os_chankill.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_chankill.cpp b/modules/commands/os_chankill.cpp index 1304dd75c..76a1826da 100644 --- a/modules/commands/os_chankill.cpp +++ b/modules/commands/os_chankill.cpp @@ -69,7 +69,7 @@ class CommandOSChanKill : public Command if ((c = Channel::Find(channel))) { - for (Channel::ChanUserList::iterator it = c->users.begin(), it_end = c->users.end(); it != it_end; ) + for (Channel::ChanUserList::iterator it = c->users.begin(), it_end = c->users.end(); it != it_end; ++it) { ChanUserContainer *uc = it->second; |