aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-06-13 20:36:57 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-06-13 20:36:57 +0200
commit4c47f2c9fc1cfbc7cadbf4e79bd8e28482240af2 (patch)
tree37373edf80f15e24dffb6a1102ec1f528418f2ad
parent119200a4a94ec0be1ba8ab84afac9e53b01695ea (diff)
downloadOFQT-4c47f2c9fc1cfbc7cadbf4e79bd8e28482240af2.tar.gz
OFQT-4c47f2c9fc1cfbc7cadbf4e79bd8e28482240af2.zip
use murse for User Agent
the official toast.openfortress.fun server only accepts some UAs
-rw-r--r--src/net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net.c b/src/net.c
index 0ae8e23..cbf6568 100644
--- a/src/net.c
+++ b/src/net.c
@@ -9,7 +9,8 @@
#include "net.h"
#include "fs.h"
-#define USER_AGENT NAME "/" VERSION
+// official servers only whitelist some UAs
+#define USER_AGENT "murse/0.1 (" NAME "/" VERSION ")"
void net_init()
{