diff options
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/ctcp.c | 2 | ||||
-rw-r--r-- | src/irc/proxy/dump.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/irc/core/ctcp.c b/src/irc/core/ctcp.c index 3ec3219d..7d74495c 100644 --- a/src/irc/core/ctcp.c +++ b/src/irc/core/ctcp.c @@ -329,7 +329,7 @@ void ctcp_init(void) ctcp_cmds = NULL; settings_add_str("misc", "ctcp_version_reply", - PACKAGE" v$J - running on $sysname $sysarch"); + PACKAGE_TARNAME" v$J - running on $sysname $sysarch"); settings_add_str("misc", "ctcp_userinfo_reply", "$Y"); settings_add_int("flood", "max_ctcp_queue", 5); diff --git a/src/irc/proxy/dump.c b/src/irc/proxy/dump.c index 94b0e5b3..a7a996d5 100644 --- a/src/irc/proxy/dump.c +++ b/src/irc/proxy/dump.c @@ -243,12 +243,12 @@ void proxy_dump_data(CLIENT_REC *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 002 %s :Your host is irssi-proxy, running version %s\n", client->proxy_address, client->nick, IRSSI_VERSION); + 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) - proxy_outdata(client, ":%s 004 %s %s %s oirw abiklmnopqstv\n", client->proxy_address, client->nick, client->proxy_address, IRSSI_VERSION); + proxy_outdata(client, ":%s 004 %s %s %s oirw abiklmnopqstv\n", client->proxy_address, client->nick, client->proxy_address, PACKAGE_VERSION); else - proxy_outdata(client, ":%s 004 %s %s %s oirw abeIiklmnopqstv\n", client->proxy_address, client->nick, client->proxy_address, IRSSI_VERSION); + proxy_outdata(client, ":%s 004 %s %s %s oirw abeIiklmnopqstv\n", client->proxy_address, client->nick, client->proxy_address, PACKAGE_VERSION); if (client->server != NULL && client->server->isupport_sent) { isupport_out = g_string_new(NULL); |