summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 12:32:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 12:32:07 +0000
commitffb1c16b3e6fc0497be20de49bb5401c2477920b (patch)
tree1cb7aaa92d316202767addc604cf9565d4ee96c1
parent187c9208f119904d2da292670d5858e99d1306e2 (diff)
Fixed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4882 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/u_listmode.h10
1 files changed, 0 insertions, 10 deletions
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)
{