From 5f77a905fab10c55e5faf1868d2e271050d79bf9 Mon Sep 17 00:00:00 2001 From: Emil Date: Fri, 4 Aug 2023 05:33:59 -0600 Subject: [PATCH] fix defaults --- docs/rizon_default.cfg | 4 +++- src/parse.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/rizon_default.cfg b/docs/rizon_default.cfg index 3373740..8ca6a88 100644 --- a/docs/rizon_default.cfg +++ b/docs/rizon_default.cfg @@ -1,4 +1,6 @@ server=irc.rizon.net username=probotic port=6667 -admins=anon8697 emilemilemil fa11_1eaf +;admins=anon8697 emilemilemil fa11_1eaf +; these arent comments, but they work because +; the parser is broken enough to make it just werk diff --git a/src/parse.c b/src/parse.c index 89757da..7ee7e07 100644 --- a/src/parse.c +++ b/src/parse.c @@ -78,7 +78,7 @@ str_split(char const * s, char c) for (i = 1; s[i]; ++i) { - + if (s[i] == c && s[i - 1] != c) { /* end of a token*/