aboutsummaryrefslogtreecommitdiff
path: root/connector
diff options
context:
space:
mode:
Diffstat (limited to 'connector')
-rw-r--r--connector/irc/irc.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/connector/irc/irc.go b/connector/irc/irc.go
index e57d71b..77359d0 100644
--- a/connector/irc/irc.go
+++ b/connector/irc/irc.go
@@ -170,6 +170,11 @@ func (irc *IRC) Leave(roomId RoomID) {
}
func (irc *IRC) Send(event *Event) error {
+ // Workaround girc bug
+ if event.Text[0] == ':' {
+ event.Text = " " + event.Text
+ }
+
dest := ""
if event.Room != "" {
ch, err := irc.checkRoomId(event.Room)