summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWouter Coekaerts <coekie@irssi.org>2009-03-10 21:36:35 +0000
committercoekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-03-10 21:36:35 +0000
commite5fee8869c061045be0d5fa7c6f9baa0714c081f (patch)
tree788426684b57ed9f9d31cf2fc508f81b528a12d0 /src
parente52277c16222768bac91b7a8b8a485a38dd5a4d1 (diff)
downloadirssi-e5fee8869c061045be0d5fa7c6f9baa0714c081f.zip
Include hostmask in 001 event sent by proxy (bug #650)
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5038 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/irc/proxy/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/proxy/dump.c b/src/irc/proxy/dump.c
index 72bc5b6c..80fd7c2e 100644
--- a/src/irc/proxy/dump.c
+++ b/src/irc/proxy/dump.c
@@ -236,7 +236,7 @@ void proxy_dump_data(CLIENT_REC *client)
proxy_client_reset_nick(client);
/* welcome info */
- proxy_outdata(client, ":%s 001 %s :Welcome to the Internet Relay Network\n", client->proxy_address, client->nick);
+ proxy_outdata(client, ":%s 001 %s :Welcome to the Internet Relay Network %s!%s@proxy\n", client->proxy_address, client->nick, client->nick, settings_get_str("user_name"));
proxy_outdata(client, ":%s 002 %s :Your host is irssi-proxy, running version %s\n", client->proxy_address, client->nick, PACKAGE_VERSION);
proxy_outdata(client, ":%s 003 %s :This server was created ...\n", client->proxy_address, client->nick);
if (client->server == NULL || !client->server->emode_known)