more slash command patches

This commit is contained in:
kc1awv
2026-01-01 15:26:56 -05:00
parent 51d5e00b90
commit 8f7948acca
+1 -2
View File
@@ -85,8 +85,7 @@ def validate_envelope(env: dict) -> None:
room = env[K_ROOM]
if not isinstance(room, str):
raise TypeError("room name must be a string")
if room == "":
raise ValueError("room name must not be empty")
# Per RRC spec, room field may be empty (e.g., for hub commands)
if K_NICK in env:
nick = env[K_NICK]