about summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-03-29 18:00:29 -0400
committerJune McEnroe <june@causal.agency>2022-03-29 18:00:29 -0400
commit86a34c39e41c3d179214f267b7a1ec0259a1c609 (patch)
tree012904439c029937da11b972fe79d9b371b6f810 /bounce.h
parentHandle CAP REQ causal.agency/passive after registration (diff)
downloadpounce-86a34c39e41c3d179214f267b7a1ec0259a1c609.tar.gz
pounce-86a34c39e41c3d179214f267b7a1ec0259a1c609.zip
Replace ORIGIN #define with clientOrigin variable
Diffstat (limited to '')
-rw-r--r--bounce.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bounce.h b/bounce.h
index 8e6ed09..d714f97 100644
--- a/bounce.h
+++ b/bounce.h
@@ -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
@@ -39,7 +39,6 @@
 #endif
 
 #define SOURCE_URL "https://git.causal.agency/pounce"
-#define ORIGIN "irc.invalid"
 
 #define BIT(x) x##Bit, x = 1 << x##Bit, x##Bit_ = x##Bit
 #define ARRAY_LEN(a) (sizeof(a) / sizeof(a[0]))
@@ -226,6 +225,7 @@ struct Client {
 	size_t len;
 };
 extern enum Cap clientCaps;
+extern char *clientOrigin;
 extern char *clientPass;
 extern char *clientAway;
 struct Client *clientAlloc(int sock, struct tls *tls);