aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorturret <turret@duck.com>2023-12-18 15:42:09 -0600
committerturret <turret@duck.com>2023-12-18 15:42:09 -0600
commit77c9eeb504b911ab677f63085c37482cfa67bc96 (patch)
tree2b37666a6b767a05bd642eeb81cef81921293436
parentbbf9af905b0a93367a6ba49bd60d83e2cf20cb56 (diff)
downloaddiscord-bot-skeleton-77c9eeb504b911ab677f63085c37482cfa67bc96.tar.gz
discord-bot-skeleton-77c9eeb504b911ab677f63085c37482cfa67bc96.tar.bz2
discord-bot-skeleton-77c9eeb504b911ab677f63085c37482cfa67bc96.zip
panic: fix macros
-rw-r--r--include/log.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/log.h b/include/log.h
index 85f192d..30fec81 100644
--- a/include/log.h
+++ b/include/log.h
@@ -30,9 +30,9 @@ int print(const char *fmt, ...);
#define PANICMODE_RESPAWN 'r'
#define PANICMODE_DIE 'd'
-#define PANIC_OOPS LOG_SOH #PANICMODE_DEBUGONLY
-#define PANIC_RESPAWN LOG_SOH #PANICMODE_RESPAWN
-#define PANIC_PANIC LOG_SOH #PANICMODE_DIE
+#define PANIC_OOPS LOG_SOH "o"
+#define PANIC_RESPAWN LOG_SOH "r"
+#define PANIC_PANIC LOG_SOH "d"
#define PANIC_DEFAULT PANIC_PANIC