From c3b941841e193c1d5c32f9d6226a95475d627249 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 16 Feb 2020 23:27:03 +0100 Subject: Basic bridging going on both ways successfully --- connector/irc/irc.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'connector') 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) -- cgit v1.2.3