From ffb1c16b3e6fc0497be20de49bb5401c2477920b Mon Sep 17 00:00:00 2001
From: brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Date: Fri, 11 Aug 2006 12:32:07 +0000
Subject: Fixed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4882 e03df62e-2008-0410-955e-edbf42e46eb7
---
 include/u_listmode.h | 10 ----------
 1 file changed, 10 deletions(-)

(limited to 'include')

diff --git a/include/u_listmode.h b/include/u_listmode.h
index ed27d15ea..b3c623552 100644
--- a/include/u_listmode.h
+++ b/include/u_listmode.h
@@ -67,7 +67,6 @@ class ListModeBase : public ModeHandler
 
         std::pair<bool,std::string> ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string &parameter)
         {
-		log(DEBUG,"ListMode: ModeSet()");
 		modelist* el;
 		channel->GetExt(infokey, el);
 		if (el)
@@ -76,12 +75,10 @@ class ListModeBase : public ModeHandler
 	                {
 	                        if(parameter == it->mask)
 	                        {
-					log(DEBUG,"Found item %s",parameter.c_str());
 					return std::make_pair(true, parameter);
 				}
 	                }
 		}
-		log(DEBUG,"Didnt find item %s",parameter.c_str());
 		return std::make_pair(false, parameter);
         }
 
@@ -113,14 +110,7 @@ class ListModeBase : public ModeHandler
 			limit.limit = Conf.ReadInteger(configtag, "limit", i, true);
 
 			if(limit.mask.size() && limit.limit > 0)
-			{
 				chanlimits.push_back(limit);
-				log(DEBUG, "Read channel listmode limit of %u for mask '%s'", limit.limit, limit.mask.c_str());
-			}
-			else
-			{
-				log(DEBUG, "Invalid tag");
-			}
 		}
 		if(chanlimits.size() == 0)
 		{
-- 
cgit v1.2.3