~martijnbraam/public-inbox

Make /skip work properly v1 PROPOSED

j3s: 1
 Make /skip work properly

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~martijnbraam/public-inbox/patches/15420/mbox | git am -3
Learn more about email & git

[PATCH] Make /skip work properly Export this patch

---
 main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main.c b/main.c
index ba652c7..bd9b39b 100644
--- a/main.c
+++ b/main.c
@@ -681,8 +681,8 @@ discussion(size_t pid, char *input)
				}
			}

			if(vote < -1 || vote > NUM_PLAYERS-1 || players[vote].fd == -1
					|| players[vote].stage != PLAYER_STAGE_DISCUSS) {
			if(vote != -1 && (vote < -1 || vote > NUM_PLAYERS-1 || players[vote].fd == -1
					|| players[vote].stage != PLAYER_STAGE_DISCUSS)) {
				snprintf(buf, sizeof(buf), "Invalid vote, no such player\n");
				write(players[pid].fd, buf, strlen(buf));
				return;
-- 
2.29.2
Thanks!

To git@git.sr.ht:~martijnbraam/among-sus
   f9cf6fa..4aeebd4  master -> master

Made a few style fixes, you'll need to rebase