1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

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
+6 -6
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);