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/gitter/gitter.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/gitter/gitter.go')
-rw-r--r-- | bridge/gitter/gitter.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/gitter/gitter.go b/bridge/gitter/gitter.go index 8d3a0459..95c41af4 100644 --- a/bridge/gitter/gitter.go +++ b/bridge/gitter/gitter.go @@ -23,9 +23,9 @@ func init() { flog = log.WithFields(log.Fields{"module": protocol}) } -func New(config config.Protocol, origin string, c chan config.Message) *Bgitter { +func New(cfg config.Protocol, origin string, c chan config.Message) *Bgitter { b := &Bgitter{} - b.Config = &config + b.Config = &cfg b.Remote = c b.protocol = protocol b.origin = origin |