shithub: hell

Download patch

ref: 56c79c8fd5ef91b979a0fd885bb5cec9e8a5415a
parent: 4f449e65176873defb69c5427f6fcd3c3f326a0c
author: penny <penny@limitedideas.org>
date: Wed Nov 12 08:49:00 EST 2025

fix empty parameter crash

--- a/mastodon.go
+++ b/mastodon.go
@@ -80,6 +80,9 @@
 	toot.Status = posttext
 
 	for _, arg := range hints {
+		if len(arg) == 0 {
+			continue
+		}
 		key := arg[0]
 		val := arg[1]
 		switch key {
--