From f96ddd39748f283768217fb1a3cdd3a7cbde353a Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 30 May 2005 22:36:08 +0000 Subject: Started on -Wall - safe compile git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1570 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chanprotect.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_chanprotect.cpp') diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp index 8cf91d45c..2bb446676 100644 --- a/src/modules/m_chanprotect.cpp +++ b/src/modules/m_chanprotect.cpp @@ -300,7 +300,7 @@ class ModuleChanProtect : public Module if (mode == 'q') { chanuserlist cl = Srv->GetUsers(channel); - for (int i = 0; i < cl.size(); i++) + for (unsigned int i = 0; i < cl.size(); i++) { if (cl[i]->GetExt("cm_founder_"+std::string(channel->name))) { @@ -312,7 +312,7 @@ class ModuleChanProtect : public Module if (mode == 'a') { chanuserlist cl = Srv->GetUsers(channel); - for (int i = 0; i < cl.size(); i++) + for (unsigned int i = 0; i < cl.size(); i++) { if (cl[i]->GetExt("cm_protect_"+std::string(channel->name))) { @@ -342,7 +342,7 @@ class ModuleChanProtect : public Module // know whos +q/+a on the channel. chanuserlist cl = Srv->GetUsers(chan); string_list commands; - for (int i = 0; i < cl.size(); i++) + for (unsigned int i = 0; i < cl.size(); i++) { if (cl[i]->GetExt("cm_founder_"+std::string(chan->name))) { -- cgit v1.2.3