Commit Diff


commit - 007f735f804e64576042d40c130ff1a753138193
commit + 708a729b1a69fe9c7aed6019dfe1ccbe8e3dd05b
blob - 973cfb429fc7bf147d1a19a10f8bff1eac125ea1
blob + b2c062ff0b66e4bbcd8fb7640e294e01722fad4c
--- gotd/gotd.h
+++ gotd/gotd.h
@@ -74,8 +74,8 @@ struct gotd_imsgev {
 };
 
 enum gotd_access {
-	GOTD_ACCESS_PERMITTED = 1,
-	GOTD_ACCESS_DENIED
+	GOTD_ACCESS_DENIED = -1,
+	GOTD_ACCESS_PERMITTED = 1
 };
 
 struct gotd_access_rule {