CTCP Version reply is now in english only and doesn't show host (security reason)

This commit is contained in:
Sebastien Helleu 2004-02-21 13:26:28 +00:00
parent 867b881bac
commit 4e86ff9682
4 changed files with 20 additions and 14 deletions

View File

@ -1,9 +1,12 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2004-02-07
ChangeLog - 2004-02-21
Version 0.0.6 (under dev!):
* CTCP Version reply is now in english only and doesn't show host (security reason)
Version 0.0.5 (2004-02-07):
* /set command to modify config options when WeeChat is running
* fixed look_nicklist config option, now enables/disables nicklist

View File

@ -870,18 +870,18 @@ irc_cmd_recv_privmsg (t_irc_server *server, char *host, char *arguments)
if (buf && (uname (buf) == 0))
{
server_sendf (server,
_("NOTICE %s :%sVERSION %s v%s"
" compiled on %s, host \"%s\" is running "
"%s %s / %s%s"),
"NOTICE %s :%sVERSION %s v%s"
" compiled on %s, running "
"%s %s / %s%s",
host, "\01", PACKAGE_NAME, PACKAGE_VERSION, __DATE__,
&buf->nodename, &buf->sysname,
&buf->sysname,
&buf->release, &buf->machine, "\01\r\n");
free (buf);
}
else
server_sendf (server,
_("NOTICE %s :%sVERSION %s v%s"
" compiled on %s%s"),
"NOTICE %s :%sVERSION %s v%s"
" compiled on %s%s",
host, "\01", PACKAGE_NAME, PACKAGE_VERSION, __DATE__,
"\01\r\n");
irc_display_prefix (server->window, PREFIX_INFO);

View File

@ -1,9 +1,12 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2004-02-07
ChangeLog - 2004-02-21
Version 0.0.6 (under dev!):
* CTCP Version reply is now in english only and doesn't show host (security reason)
Version 0.0.5 (2004-02-07):
* /set command to modify config options when WeeChat is running
* fixed look_nicklist config option, now enables/disables nicklist

View File

@ -870,18 +870,18 @@ irc_cmd_recv_privmsg (t_irc_server *server, char *host, char *arguments)
if (buf && (uname (buf) == 0))
{
server_sendf (server,
_("NOTICE %s :%sVERSION %s v%s"
" compiled on %s, host \"%s\" is running "
"%s %s / %s%s"),
"NOTICE %s :%sVERSION %s v%s"
" compiled on %s, running "
"%s %s / %s%s",
host, "\01", PACKAGE_NAME, PACKAGE_VERSION, __DATE__,
&buf->nodename, &buf->sysname,
&buf->sysname,
&buf->release, &buf->machine, "\01\r\n");
free (buf);
}
else
server_sendf (server,
_("NOTICE %s :%sVERSION %s v%s"
" compiled on %s%s"),
"NOTICE %s :%sVERSION %s v%s"
" compiled on %s%s",
host, "\01", PACKAGE_NAME, PACKAGE_VERSION, __DATE__,
"\01\r\n");
irc_display_prefix (server->window, PREFIX_INFO);