diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-10 17:25:44 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-10 17:25:44 +0000 |
commit | 4c5acb6a26da3aa16123e848d22e96799e545d2c (patch) | |
tree | 7e5ecf4394a1ff4f57a6a31301a2fb4f344794ea | |
parent | d1a146aa753e56b0ae68be16d48567dcd13cc8fc (diff) |
Tidyup of commented out reminder code
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3636 e03df62e-2008-0410-955e-edbf42e46eb7
-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]; |