From aae358c078f54cdbaf87f98b5839b6994d93d3a0 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Fri, 11 Apr 2008 17:10:40 +0200 Subject: [PATCH] Remove various other gline stuff. --- extensions/m_webirc.c | 2 +- modules/m_info.c | 2 +- src/client.c | 7 +------ 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/extensions/m_webirc.c b/extensions/m_webirc.c index 8053a8d53..24fe2978e 100644 --- a/extensions/m_webirc.c +++ b/extensions/m_webirc.c @@ -32,7 +32,7 @@ * }; * Possible flags: * 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). * k/d/x lines, auth blocks, user limits, etc are checked using the * real host/ip. diff --git a/modules/m_info.c b/modules/m_info.c index 571c4ba15..3ec6e1398 100644 --- a/modules/m_info.c +++ b/modules/m_info.c @@ -306,7 +306,7 @@ static struct InfoStruct info_table[] = { "min_nonwildcard", OUTPUT_DECIMAL, &ConfigFileEntry.min_nonwildcard, - "Minimum non-wildcard chars in K/G lines", + "Minimum non-wildcard chars in K lines", }, { "min_nonwildcard_simple", diff --git a/src/client.c b/src/client.c index 5bb34131b..a7455e090 100644 --- a/src/client.c +++ b/src/client.c @@ -85,8 +85,7 @@ struct Dictionary *nd_dict = NULL; enum { D_LINED, - K_LINED, - G_LINED + K_LINED }; 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 d_lined[] = "D-lined"; static const char k_lined[] = "K-lined"; - static const char g_lined[] = "G-lined"; const char *reason = NULL; 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: reason = d_lined; break; - case G_LINED: - reason = g_lined; - break; default: reason = k_lined; break;