From 51327a405651442ac47c4ce75363442fa323b592 Mon Sep 17 00:00:00 2001 From: Liam Stanley Date: Sat, 9 Jun 2018 06:47:40 -0400 Subject: Reconnect on quit. (irc) See #431 (#445) * potential fixes for #431 * go: fix formatting/gofmt/goreturns --- bridge/discord/discord.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bridge/discord') diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index ef4e5ca6..81f0cbe3 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -3,13 +3,14 @@ package bdiscord import ( "bytes" "fmt" + "regexp" + "strings" + "sync" + "github.com/42wim/matterbridge/bridge" "github.com/42wim/matterbridge/bridge/config" "github.com/42wim/matterbridge/bridge/helper" "github.com/bwmarrin/discordgo" - "regexp" - "strings" - "sync" ) type Bdiscord struct { -- cgit v1.2.3