Remove various other gline stuff.

This commit is contained in:
Jilles Tjoelker 2008-04-11 17:10:40 +02:00
parent e79108b6e8
commit c6525f80ba
3 changed files with 3 additions and 8 deletions

View File

@ -32,7 +32,7 @@
* }; * };
* Possible flags: * Possible flags:
* encrypted - password is encrypted (recommended) * encrypted - password is encrypted (recommended)
* kline_exempt - k/g lines on the cgiirc ip are ignored * kline_exempt - klines on the cgiirc ip are ignored
* dlines are checked on the cgiirc ip (of course). * dlines are checked on the cgiirc ip (of course).
* k/d/x lines, auth blocks, user limits, etc are checked using the * k/d/x lines, auth blocks, user limits, etc are checked using the
* real host/ip. * real host/ip.

View File

@ -306,7 +306,7 @@ static struct InfoStruct info_table[] = {
"min_nonwildcard", "min_nonwildcard",
OUTPUT_DECIMAL, OUTPUT_DECIMAL,
&ConfigFileEntry.min_nonwildcard, &ConfigFileEntry.min_nonwildcard,
"Minimum non-wildcard chars in K/G lines", "Minimum non-wildcard chars in K lines",
}, },
{ {
"min_nonwildcard_simple", "min_nonwildcard_simple",

View File

@ -85,8 +85,7 @@ struct Dictionary *nd_dict = NULL;
enum enum
{ {
D_LINED, D_LINED,
K_LINED, K_LINED
G_LINED
}; };
rb_dlink_list dead_list; rb_dlink_list dead_list;
@ -403,7 +402,6 @@ notify_banned_client(struct Client *client_p, struct ConfItem *aconf, int ban)
static const char conn_closed[] = "Connection closed"; static const char conn_closed[] = "Connection closed";
static const char d_lined[] = "D-lined"; static const char d_lined[] = "D-lined";
static const char k_lined[] = "K-lined"; static const char k_lined[] = "K-lined";
static const char g_lined[] = "G-lined";
const char *reason = NULL; const char *reason = NULL;
const char *exit_reason = conn_closed; const char *exit_reason = conn_closed;
@ -419,9 +417,6 @@ notify_banned_client(struct Client *client_p, struct ConfItem *aconf, int ban)
case D_LINED: case D_LINED:
reason = d_lined; reason = d_lined;
break; break;
case G_LINED:
reason = g_lined;
break;
default: default:
reason = k_lined; reason = k_lined;
break; break;