summaryrefslogtreecommitdiff
path: root/src/core/cs_set.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-08-19 23:13:30 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-08-19 23:13:30 +0000
commit6ce5c90619491440fc68f011c372feaaaf9d66dc (patch)
tree8e27c7a340a01d6c8cc13229369aabdb50a76d8b /src/core/cs_set.c
parent6c62e3968051283b73aa817966058906f28f289e (diff)
Add a few items to outstanding issues in TODO, clean up a lot of warnings (not all, some require more widespread changes than this), and fix a few potential bugs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2457 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_set.c')
-rw-r--r--src/core/cs_set.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/cs_set.c b/src/core/cs_set.c
index 1e36e859e..00d18a110 100644
--- a/src/core/cs_set.c
+++ b/src/core/cs_set.c
@@ -460,10 +460,9 @@ class CommandCSSet : public Command
{
if (stricmp(param, "ON") == 0) {
if (!(ci->flags & CI_XOP)) {
- int i;
ChanAccess *access;
- for (i = 0; i < ci->access.size(); i++) {
+ for (unsigned i = 0; i < ci->access.size(); i++) {
access = ci->GetAccess(i);
if (!access->in_use)
continue;