diff options
author | June McEnroe <june@causal.agency> | 2022-03-29 18:00:29 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-03-29 18:00:29 -0400 |
commit | 86a34c39e41c3d179214f267b7a1ec0259a1c609 (patch) | |
tree | 012904439c029937da11b972fe79d9b371b6f810 /state.c | |
parent | Handle CAP REQ causal.agency/passive after registration (diff) | |
download | pounce-86a34c39e41c3d179214f267b7a1ec0259a1c609.tar.gz pounce-86a34c39e41c3d179214f267b7a1ec0259a1c609.zip |
Replace ORIGIN #define with clientOrigin variable
Diffstat (limited to 'state.c')
-rw-r--r-- | state.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 <june@causal.agency> +/* Copyright (C) 2019 June McEnroe <june@causal.agency> * * 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; |