Author: Kev <klmitch@mit.edu>
authorKevin L. Mitchell <klmitch@mit.edu>
Fri, 14 Apr 2000 14:41:04 +0000 (14:41 +0000)
committerKevin L. Mitchell <klmitch@mit.edu>
Fri, 14 Apr 2000 14:41:04 +0000 (14:41 +0000)
Log message:

* ircd/s_conf.c (find_kill): gline_find() takes a char *userhost,
but gline_lookup() actually takes a client--d'oh.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@170 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/s_conf.c

index 9268266ad40c5fef8c5ff0202e40a3712ea9439c..41bc93ffbf7eef0bb22c85db394771bc9552b64c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-14  Kevin L. Mitchell  <klmitch@mit.edu>
+
+       * ircd/s_conf.c (find_kill): gline_find() takes a char *userhost,
+       but gline_lookup() actually takes a client--d'oh.
+
 2000-04-13  Thomas Helvey <tomh@inxpress.net>
        * ircd/IPcheck.c: Back port BLMet's bugfix from 2.10.10
 
 #
 # ChangeLog for ircu2.10.11
 #
-# $Id: ChangeLog,v 1.81 2000-04-14 02:56:22 bleep Exp $
+# $Id: ChangeLog,v 1.82 2000-04-14 14:41:04 kev Exp $
 #
 # Insert new changes at beginning of the change list.
 #
index 772463d07c859692956c8cb2833f146055b68b0e..9be42947a0d05bd1c639a5fe2ba71daaf17b98d9 100644 (file)
@@ -1445,8 +1445,7 @@ int find_kill(struct Client *cptr)
 
   /* find active glines */
   /* added a check against the user's IP address to find_gline() -Kev */
-  /* FIX ME KEV! gline_find take char *userhost not struct Client! -GW */
-  else if ((agline = gline_find(cptr, 0)) && GlineIsActive(agline))
+  else if ((agline = gline_lookup(cptr)) && GlineIsActive(agline))
     sendto_one(cptr, ":%s %d %s :%s.", me.name, ERR_YOUREBANNEDCREEP,
               cptr->name, GlineReason(agline));
   else