From d8cd384622fe8b00c7c257814cfcfec59d1e928e Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Wed, 6 Nov 2019 17:18:05 -0500 Subject: Use #defines for constant strings GCC hates declaring static consts in headers and not using them, for some stupid reason. --- state.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'state.c') diff --git a/state.c b/state.c index 6486dde..da5c96f 100644 --- a/state.c +++ b/state.c @@ -324,7 +324,7 @@ void stateSync(struct Client *client) { client, ":%s NOTICE %s :" "pounce is GPLv3 fwee softwawe ^w^ code is avaiwable fwom %s\r\n", - Origin, self.nick, SourceURL + ORIGIN, self.nick, SOURCE_URL ); clientFormat( @@ -373,7 +373,7 @@ void stateSync(struct Client *client) { if (chan->topic) { clientFormat( client, ":%s 332 %s %s :%s\r\n", - Origin, self.nick, chan->name, chan->topic + ORIGIN, self.nick, chan->name, chan->topic ); } if (stateJoinNames) serverFormat("NAMES %s\r\n", chan->name); -- cgit 1.4.1