summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--irc/states.go2
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
}