summaryrefslogtreecommitdiff
path: root/src/core/os_chankill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/os_chankill.cpp')
-rw-r--r--src/core/os_chankill.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/os_chankill.cpp b/src/core/os_chankill.cpp
index 8a22fa256..f751d6dee 100644
--- a/src/core/os_chankill.cpp
+++ b/src/core/os_chankill.cpp
@@ -7,9 +7,8 @@
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
- *
- *
*/
+
/*************************************************************************/
#include "module.h"
@@ -67,7 +66,7 @@ class CommandOSChanKill : public Command
if ((c = findchan(channel)))
{
- for (CUserList::iterator it = c->users.begin(); it != c->users.end();)
+ for (CUserList::iterator it = c->users.begin(), it_end = c->users.end(); it != it_end; )
{
UserContainer *uc = *it++;