[svn] Include real hostname in Closing Link message for unknown
connections that have sent USER. This is helpful for k-lined users while not breaking server IP hiding.
This commit is contained in:
parent
b1fc1658e1
commit
dd12a19c2c
|
@ -1,3 +1,12 @@
|
||||||
|
jilles 2007/01/26 16:52:29 UTC (20070126-3165)
|
||||||
|
Log:
|
||||||
|
Rerun autoconf.
|
||||||
|
|
||||||
|
|
||||||
|
Changes: Modified:
|
||||||
|
+29 -29 trunk/configure (File Modified)
|
||||||
|
|
||||||
|
|
||||||
nenolod 2007/01/25 07:36:23 UTC (20070125-3163)
|
nenolod 2007/01/25 07:36:23 UTC (20070125-3163)
|
||||||
Log:
|
Log:
|
||||||
- nick[user@host] -> nick!user@host in kill messages. based on jilles' change in 3.0
|
- nick[user@host] -> nick!user@host in kill messages. based on jilles' change in 3.0
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
#define SERNO "20070125-3163"
|
#define SERNO "20070126-3165"
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
||||||
* USA
|
* USA
|
||||||
*
|
*
|
||||||
* $Id: client.c 1861 2006-08-26 23:21:42Z jilles $
|
* $Id: client.c 3167 2007-01-26 18:52:11Z jilles $
|
||||||
*/
|
*/
|
||||||
#include "stdinc.h"
|
#include "stdinc.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
@ -1422,7 +1422,9 @@ exit_unknown_client(struct Client *client_p, struct Client *source_p, struct Cli
|
||||||
dlinkDelete(&source_p->localClient->tnode, &unknown_list);
|
dlinkDelete(&source_p->localClient->tnode, &unknown_list);
|
||||||
|
|
||||||
if(!IsIOError(source_p))
|
if(!IsIOError(source_p))
|
||||||
sendto_one(source_p, "ERROR :Closing Link: 127.0.0.1 (%s)", comment);
|
sendto_one(source_p, "ERROR :Closing Link: %s (%s)",
|
||||||
|
source_p->user != NULL ? source_p->host : "127.0.0.1",
|
||||||
|
comment);
|
||||||
|
|
||||||
close_connection(source_p);
|
close_connection(source_p);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue