diff options
author | Alex Auvolat <alex@adnab.me> | 2020-02-16 23:27:03 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2020-02-16 23:27:03 +0100 |
commit | c3b941841e193c1d5c32f9d6226a95475d627249 (patch) | |
tree | b3ac238623f6cafa08a063e886d97806cfe836bc /connector/irc/irc.go | |
parent | a11be80cf0c13263791f3e4f82fda461acd77130 (diff) | |
download | easybridge-c3b941841e193c1d5c32f9d6226a95475d627249.tar.gz easybridge-c3b941841e193c1d5c32f9d6226a95475d627249.zip |
Basic bridging going on both ways successfully
Diffstat (limited to 'connector/irc/irc.go')
-rw-r--r-- | connector/irc/irc.go | 5 |
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) |