about summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-01 02:19:55 -0500
committerJune McEnroe <june@causal.agency>2020-02-01 02:19:55 -0500
commit856d40d1212ec835b092a8f275124d09a65ba59d (patch)
treeb8c1ca07e2b452db45ef1a93ab62f9019a94e6db /handle.c
parentBlindly implement login flow (diff)
downloadcatgirl-856d40d1212ec835b092a8f275124d09a65ba59d.tar.gz
catgirl-856d40d1212ec835b092a8f275124d09a65ba59d.zip
Fix CapNames array indices
Diffstat (limited to 'handle.c')
-rw-r--r--handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index 4084525..96bd2a2 100644
--- a/handle.c
+++ b/handle.c
@@ -24,7 +24,7 @@
 #include "chat.h"
 
 static const char *CapNames[] = {
-#define X(name, id) [id] = name,
+#define X(name, id) [id##Bit] = name,
 	ENUM_CAP
 #undef X
 };