diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-11-01 20:44:22 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-11-01 20:44:22 +0000 |
commit | 76ed67fe37cba4734e1377a468cc95da736ff5d2 (patch) | |
tree | e67d70fb3b1e27f06064b0fcc71cda36441667d6 /src/conf.c | |
parent | eddfc4585d53d006ff7c0ac1db5b1d3551195a5b (diff) |
- Got rid of find_kill() and find_gline() wrapper functions
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2523 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'src/conf.c')
-rw-r--r-- | src/conf.c | 33 |
1 files changed, 0 insertions, 33 deletions
@@ -1283,39 +1283,6 @@ conf_connect_allowed(struct irc_ssaddr *addr, int aftype) return 0; } -/* find_kill() - * - * inputs - pointer to client structure - * output - pointer to struct MaskItem if found - * side effects - See if this user is klined already, - * and if so, return struct MaskItem pointer - */ -struct MaskItem * -find_kill(struct Client *client_p) -{ - struct MaskItem *conf = NULL; - - assert(client_p != NULL); - - conf = find_conf_by_address(client_p->host, &client_p->localClient->ip, - CONF_KLINE, client_p->localClient->aftype, - client_p->username, NULL, 1); - return conf; -} - -struct MaskItem * -find_gline(struct Client *client_p) -{ - struct MaskItem *conf; - - assert(client_p != NULL); - - conf = find_conf_by_address(client_p->host, &client_p->localClient->ip, - CONF_GLINE, client_p->localClient->aftype, - client_p->username, NULL, 1); - return conf; -} - /* cleanup_tklines() * * inputs - NONE |