Author: Isomer <isomer@coders.net>
authorPerry Lorier <isomer@undernet.org>
Sun, 2 Jul 2000 01:06:17 +0000 (01:06 +0000)
committerPerry Lorier <isomer@undernet.org>
Sun, 2 Jul 2000 01:06:17 +0000 (01:06 +0000)
Log message:

Fixed adding remote clients with their servers IP.  Doh! Stupid stupid stupid.
Thanks Hektik for finding this one :)

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

ChangeLog
ircd/s_user.c

index 5dcb425039575c51d5a0178e9c4955a15fe24535..bef1a32f3fbb1398556c20240fe42b394388abd2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-02  Perry Lorier       <Isomer@coders.net>
+       * ircd/s_misc.c: Fixed remote IPcheck bug.  Ok, I'm a moron, so sue
+                       me.  Thanks to Hektik, thanks thanks thanks thanks
+                       thanks thanks thanks thanks thank thanks thank thanks
+
 2000-07-01  Perry Lorier       <Isomer@coders.net>
        * ircd/s_conf.c: "Fixed" the "bug" where people would "evade" K:'s.
        * ircd/s_conf.c, include/IPcheck.h: Fixed compile warnings.
 #
 # ChangeLog for ircu2.10.11
 #
-# $Id: ChangeLog,v 1.152 2000-07-01 12:37:02 isomer Exp $
+# $Id: ChangeLog,v 1.153 2000-07-02 01:06:17 isomer Exp $
 #
 # Insert new changes at beginning of the change list.
 #
index 1b42061621c9facb7d952cc5130c5dc7361e32f2..1c93ad4188d816305b1f2b8766a4a7c926694266 100644 (file)
@@ -781,7 +781,7 @@ int set_nick_name(struct Client* cptr, struct Client* sptr,
          && GlineLastMod(agline) > lastmod && !IsBurstOrBurstAck(cptr))
        gline_resend(cptr, agline);
     }
-    if (!ip_registry_remote_connect(sptr)) {
+    if (!ip_registry_remote_connect(new_client)) {
        sendcmdto_one(&me, CMD_KILL, new_client, "%C :%s (Too many connections from your host -- Ghost)",
                      new_client,me.name);
        return exit_client(cptr,new_client,&me,"Too many connections from your host -- throttled");