ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/src/conf.c
(Generate patch)

Comparing ircd-hybrid/trunk/src/conf.c (file contents):
Revision 2475 by michael, Fri Oct 11 19:40:43 2013 UTC vs.
Revision 2522 by michael, Fri Nov 1 20:44:04 2013 UTC

# Line 1283 | Line 1283 | conf_connect_allowed(struct irc_ssaddr *
1283    return 0;
1284   }
1285  
1286 /* find_kill()
1287 *
1288 * inputs       - pointer to client structure
1289 * output       - pointer to struct MaskItem if found
1290 * side effects - See if this user is klined already,
1291 *                and if so, return struct MaskItem pointer
1292 */
1293 struct MaskItem *
1294 find_kill(struct Client *client_p)
1295 {
1296  struct MaskItem *conf = NULL;
1297
1298  assert(client_p != NULL);
1299
1300  conf = find_conf_by_address(client_p->host, &client_p->localClient->ip,
1301                              CONF_KLINE, client_p->localClient->aftype,
1302                              client_p->username, NULL, 1);
1303  return conf;
1304 }
1305
1306 struct MaskItem *
1307 find_gline(struct Client *client_p)
1308 {
1309  struct MaskItem *conf;
1310
1311  assert(client_p != NULL);
1312
1313  conf = find_conf_by_address(client_p->host, &client_p->localClient->ip,
1314                              CONF_GLINE, client_p->localClient->aftype,
1315                              client_p->username, NULL, 1);
1316  return conf;
1317 }
1318
1286   /* cleanup_tklines()
1287   *
1288   * inputs       - NONE

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)