summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2007-08-07 14:55:14 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2007-08-07 14:55:14 +0000
commitde4c2af324e54c3b4ad545a89300dc4dc4676a98 (patch)
tree9bde89b6bd671916d8569a3380a730f65de44cbf /src/irc
parent918b8400f4be2992f3ba1c4fb979f9c6076305d8 (diff)
downloadirssi-de4c2af324e54c3b4ad545a89300dc4dc4676a98.zip
Use autoconf PACKAGE_TARNAME/PACKAGE_VERSION macros rather than automake
PACKAGE/VERSION ones. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4597 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/core/ctcp.c2
-rw-r--r--src/irc/proxy/dump.c6
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);