From 86a34c39e41c3d179214f267b7a1ec0259a1c609 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 29 Mar 2022 18:00:29 -0400 Subject: Replace ORIGIN #define with clientOrigin variable --- state.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'state.c') diff --git a/state.c b/state.c index cb9419d..c3fc96c 100644 --- a/state.c +++ b/state.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2019 C. McEnroe +/* Copyright (C) 2019 June McEnroe * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -393,7 +393,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, SOURCE_URL + clientOrigin, self.nick, SOURCE_URL ); clientFormat( @@ -444,7 +444,7 @@ void stateSync(struct Client *client) { clientFormat( client, ":%s 422 %s :MOTD File is missing\r\n", - ORIGIN, self.nick + clientOrigin, self.nick ); if (chans.len) assert(self.origin); @@ -454,7 +454,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 + clientOrigin, self.nick, chan->name, chan->topic ); } if (stateNoNames) continue; -- cgit 1.4.1