diff options
| author | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-22 15:03:12 +0200 |
|---|---|---|
| committer | Hubert Hirtz <hubert@hirtzfr.eu> | 2020-08-22 15:03:12 +0200 |
| commit | 40f3e347707adb928844654907afe494e83e9a4a (patch) | |
| tree | afe62865d768ff7ac6fe08a08b50fffafa347d37 /irc/states.go | |
| parent | Fix same messages being fetched with CHATHISTORY (diff) | |
Fix /topic only accepting one word
Diffstat (limited to 'irc/states.go')
| -rw-r--r-- | irc/states.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/irc/states.go b/irc/states.go index 8837018..e68788a 100644 --- a/irc/states.go +++ b/irc/states.go @@ -303,7 +303,7 @@ func (s *Session) SetTopic(channel, topic string) { } func (s *Session) setTopic(act actionSetTopic) (err error) { - err = s.send("TOPIC %s %s\r\n", act.Channel, act.Topic) + err = s.send("TOPIC %s :%s\r\n", act.Channel, act.Topic) return } |
