diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2004-02-21 13:26:28 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2004-02-21 13:26:28 +0000 |
commit | 4e86ff9682834dbdd90d31bc4533a3ab0ac685c8 (patch) | |
tree | 3a84a16949e8133b088630a16a4666fc39a8402a /src/irc/irc-recv.c | |
parent | 867b881bac2c6fd7970594a738ba01bf3e33055a (diff) | |
download | weechat-4e86ff9682834dbdd90d31bc4533a3ab0ac685c8.zip |
CTCP Version reply is now in english only and doesn't show host (security reason)
Diffstat (limited to 'src/irc/irc-recv.c')
-rw-r--r-- | src/irc/irc-recv.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index 922c3b441..31a3cf2ed 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -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); |