diff options
author | Wim <wim@42.be> | 2016-11-04 00:05:15 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2016-11-04 23:03:31 +0100 |
commit | c3a8b7a997f5baf2579c58fdadead7e428ef0061 (patch) | |
tree | 242462cd21509b550051c7f69952e79d8a0ce5a2 /bridge/discord/discord.go | |
parent | 95fac548bbedb541b1b6d383b2053e7a06a7d8d2 (diff) | |
download | matterbridge-msglm-c3a8b7a997f5baf2579c58fdadead7e428ef0061.tar.gz matterbridge-msglm-c3a8b7a997f5baf2579c58fdadead7e428ef0061.tar.bz2 matterbridge-msglm-c3a8b7a997f5baf2579c58fdadead7e428ef0061.zip |
Refactor modifyMessage
Diffstat (limited to 'bridge/discord/discord.go')
-rw-r--r-- | bridge/discord/discord.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/discord/discord.go b/bridge/discord/discord.go index f1331dd4..446977ad 100644 --- a/bridge/discord/discord.go +++ b/bridge/discord/discord.go @@ -25,9 +25,9 @@ func init() { flog = log.WithFields(log.Fields{"module": protocol}) } -func New(config config.Protocol, origin string, c chan config.Message) *bdiscord { +func New(cfg config.Protocol, origin string, c chan config.Message) *bdiscord { b := &bdiscord{} - b.Config = &config + b.Config = &cfg b.Remote = c b.protocol = protocol b.origin = origin |