diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xline.cpp | 19 |
1 files changed, 1 insertions, 18 deletions
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]; |