Libera-Chat / sable

GNU Affero General Public License v3.0
78 stars 8 forks source link

Allow unsetting topics with `TOPIC #chan :` #63

Closed progval closed 1 year ago

progval commented 1 year ago

Before this commit, empty trailings were treated like omitting the trailing by the parser, which prevents unsetting topics.

Consequently, this commit changes NOTICE and PRIVMSG command handlers to issue errors themselves on empty trailing. This is also an issue with channel keys, which are handled by #62

Closes #56.