From 4c5acb6a26da3aa16123e848d22e96799e545d2c Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 10 Mar 2006 17:25:44 +0000 Subject: Tidyup of commented out reminder code git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3636 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/xline.cpp | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'src') diff --git a/src/xline.cpp b/src/xline.cpp index 12082d15d..d23f3b108 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -107,11 +107,6 @@ bool KSortComparison ( const KLine one, const KLine two ); // this way these days, such as qlines against // services nicks, etc. -/* for (int i = 0; i < Config->ConfValueEnum("badip",&Config->config_f); i++) - { - Config->ConfValue("badip","ipmask",i,ipmask,&Config->config_f); - Config->ConfValue("badip","reason",i,reason,&Config->config_f);*/ - bool InitXLine(const char* tag) { return true; @@ -132,11 +127,6 @@ bool DoZLine(const char* tag, char** entries, void** values, int* types) return true; } -/* for (int i = 0; i < Config->ConfValueEnum("badnick",&Config->config_f); i++) - { - Config->ConfValue("badnick","nick",i,nick,&Config->config_f); - Config->ConfValue("badnick","reason",i,reason,&Config->config_f);*/ - bool DoQLine(const char* tag, char** entries, void** values, int* types) { char* reason = (char*)values[0]; @@ -146,10 +136,6 @@ bool DoQLine(const char* tag, char** entries, void** values, int* types) return true; } -/* for (int i = 0; i < Config->ConfValueEnum("badhost",&Config->config_f); i++) - { - Config->ConfValue("badhost","host",i,host,&Config->config_f); - Config->ConfValue("badhost","reason",i,reason,&Config->config_f);*/ bool DoKLine(const char* tag, char** entries, void** values, int* types) { char* reason = (char*)values[0]; @@ -158,10 +144,7 @@ bool DoKLine(const char* tag, char** entries, void** values, int* types) log(DEBUG,"Read K line (badhost tag): host=%s reason=%s",host,reason); return true; } -/* for (int i = 0; i < Config->ConfValueEnum("exception",&Config->config_f); i++) - { - Config->ConfValue("exception","host",i,host,&Config->config_f); - Config->ConfValue("exception","reason",i,reason,&Config->config_f);*/ + bool DoELine(const char* tag, char** entries, void** values, int* types) { char* reason = (char*)values[0]; -- cgit v1.2.3