X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fs_user.c;h=1c93ad4188d816305b1f2b8766a4a7c926694266;hb=fe7e9df87467447f02ff96dfb2c1027a0e0c2fcd;hp=1b42061621c9facb7d952cc5130c5dc7361e32f2;hpb=30379f0e863c642fe8843eaf2bdbba81dabf4465;p=ircu2.10.12-pk.git diff --git a/ircd/s_user.c b/ircd/s_user.c index 1b42061..1c93ad4 100644 --- a/ircd/s_user.c +++ b/ircd/s_user.c @@ -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");