mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
Tidyup of commented out reminder code
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3636 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
d1a146aa75
commit
4c5acb6a26
@ -107,11 +107,6 @@ bool KSortComparison ( const KLine one, const KLine two );
|
|||||||
// this way these days, such as qlines against
|
// this way these days, such as qlines against
|
||||||
// services nicks, etc.
|
// 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)
|
bool InitXLine(const char* tag)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
@ -132,11 +127,6 @@ bool DoZLine(const char* tag, char** entries, void** values, int* types)
|
|||||||
return true;
|
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)
|
bool DoQLine(const char* tag, char** entries, void** values, int* types)
|
||||||
{
|
{
|
||||||
char* reason = (char*)values[0];
|
char* reason = (char*)values[0];
|
||||||
@ -146,10 +136,6 @@ bool DoQLine(const char* tag, char** entries, void** values, int* types)
|
|||||||
return true;
|
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)
|
bool DoKLine(const char* tag, char** entries, void** values, int* types)
|
||||||
{
|
{
|
||||||
char* reason = (char*)values[0];
|
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);
|
log(DEBUG,"Read K line (badhost tag): host=%s reason=%s",host,reason);
|
||||||
return true;
|
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)
|
bool DoELine(const char* tag, char** entries, void** values, int* types)
|
||||||
{
|
{
|
||||||
char* reason = (char*)values[0];
|
char* reason = (char*)values[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user