summaryrefslogtreecommitdiff
path: root/src/core/cs_suspend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_suspend.cpp')
-rw-r--r--src/core/cs_suspend.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/cs_suspend.cpp b/src/core/cs_suspend.cpp
index 6931fb62b..486c210df 100644
--- a/src/core/cs_suspend.cpp
+++ b/src/core/cs_suspend.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"
@@ -61,7 +60,7 @@ class CommandCSSuspend : public Command
if ((c = findchan(ci->name)))
{
- 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++;