From 7a9a50f70b044738ab546ce5422048f397528e5f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 25 Jul 2001 20:07:10 +0000 Subject: [PATCH] get the version from IRSSI_VERSION, not VERSION. #include "signals.h" was missing from proxy.c git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1649 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/proxy/dump.c | 7 ++++--- src/irc/proxy/proxy.c | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/irc/proxy/dump.c b/src/irc/proxy/dump.c index 556350ac..6e49df16 100644 --- a/src/irc/proxy/dump.c +++ b/src/irc/proxy/dump.c @@ -21,6 +21,7 @@ #include "module.h" #include "network.h" #include "settings.h" +#include "irssi-version.h" #include "irc-servers.h" #include "irc-channels.h" @@ -214,12 +215,12 @@ void plugin_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, VERSION); + 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 003 %s :This server was created ...\n", client->nick); if (client->server == NULL || !client->server->emode_known) - proxy_outdata(client, ":%s 004 %s proxy %s oirw abiklmnopqstv\n", client->proxy_address, client->nick, VERSION); + proxy_outdata(client, ":%s 004 %s proxy %s oirw abiklmnopqstv\n", client->proxy_address, client->nick, IRSSI_VERSION); else - proxy_outdata(client, ":%s 004 %s proxy %s oirw abeIiklmnopqstv\n", client->proxy_address, client->nick, VERSION); + proxy_outdata(client, ":%s 004 %s proxy %s oirw abeIiklmnopqstv\n", client->proxy_address, client->nick, IRSSI_VERSION); proxy_outdata(client, ":%s 251 %s :There are 0 users and 0 invisible on 1 servers\n", client->proxy_address, client->nick); proxy_outdata(client, ":%s 255 %s :I have 0 clients, 0 services and 0 servers\n", client->proxy_address, client->nick); proxy_outdata(client, ":%s 422 %s :MOTD File is missing\n", client->proxy_address, client->nick); diff --git a/src/irc/proxy/proxy.c b/src/irc/proxy/proxy.c index 949df9f2..84e1ed64 100644 --- a/src/irc/proxy/proxy.c +++ b/src/irc/proxy/proxy.c @@ -19,6 +19,7 @@ */ #include "module.h" +#include "signals.h" #include "settings.h" #include "levels.h"