summary refs log tree commit diff
path: root/state.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-06 17:18:05 -0500
committerJune McEnroe <june@causal.agency>2019-11-06 17:18:05 -0500
commitd8cd384622fe8b00c7c257814cfcfec59d1e928e (patch)
tree9322caa699402b6f0dc92dcbd3c6fe444f248d1c /state.c
parentDeclare more missing functions and deal with lack of SO_NOSIGPIPE (diff)
downloadpounce-d8cd384622fe8b00c7c257814cfcfec59d1e928e.tar.gz
pounce-d8cd384622fe8b00c7c257814cfcfec59d1e928e.zip
Use #defines for constant strings
GCC hates declaring static consts in headers and not using them, for
some stupid reason.
Diffstat (limited to 'state.c')
-rw-r--r--state.c4
1 files changed, 2 insertions, 2 deletions
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);