1
0
Fork 0

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
This commit is contained in:
Wouter Coekaerts 2009-03-10 21:36:35 +00:00 committed by coekie
parent e52277c162
commit e5fee8869c
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -62,6 +62,7 @@ v0.8.13 2009-xx-xx The Irssi team <staff@irssi.org>
+ introduce the type Irssi::Irc::Client and signals to communicate with
proxy clients to allow for scripting parts of the irssi-proxy.
+ Add sb_search.pl, a script for /SCROLLBACK SEARCH
- Include hostmask in 001 event sent by proxy (bug #650).
- Be more power-friendly: don't run any always-on <1s timers (bug #641).
- Don't get confused by a failed /JOIN -window (bug #644).
- Properly initialize embedded Perl (PERL_SYS_INIT3).

View File

@ -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)