diff options
Diffstat (limited to 'bridge/slack/legacy.go')
-rw-r--r-- | bridge/slack/legacy.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bridge/slack/legacy.go b/bridge/slack/legacy.go index a7e7f01f..be372edd 100644 --- a/bridge/slack/legacy.go +++ b/bridge/slack/legacy.go @@ -8,15 +8,15 @@ import ( "github.com/nlopes/slack" ) -type BslackLegacy struct { +type BLegacy struct { *Bslack } func NewLegacy(cfg *bridge.Config) bridge.Bridger { - return &BslackLegacy{Bslack: newBridge(cfg)} + return &BLegacy{Bslack: newBridge(cfg)} } -func (b *BslackLegacy) Connect() error { +func (b *BLegacy) Connect() error { b.RLock() defer b.RUnlock() if b.GetString(incomingWebhookConfig) != "" { |