summary refs log tree commit diff
path: root/format.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--format.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/format.c b/format.c
index 30b287e..b9cd8b1 100644
--- a/format.c
+++ b/format.c
@@ -66,7 +66,13 @@ static const wchar_t Stops[] = {
 
 bool formatParse(struct Format *format, const wchar_t *split) {
 	format->str += format->len;
-	if (!format->str[0]) return false;
+	if (!format->str[0]) {
+		if (split == format->str && !format->split) {
+			format->split = true;
+			return true;
+		}
+		return false;
+	}
 
 	const wchar_t *init = format->str;
 	switch (format->str[0]) {
dd7776ca17cb6ac01ce&follow=1'>Add support for mIRC colorsJune McEnroe 2018-08-03Handle bold, italic, underlineJune McEnroe 2018-08-03Add prift function for "prefix shift"June McEnroe 2018-08-03Link with -lcurseswJune McEnroe 2018-08-02Use libtls "compat" ciphersJune McEnroe 2018-08-02Add UI and handle some kinds of server messagesJune McEnroe 2018-08-02Add chroot.tar targetJune McEnroe