Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit f9ca327094b11ab4c18d0b631a4080e10a2fe975 Author: Wim <wim@42.be> Date: Tue Sep 20 00:21:14 2016 +0000 Cleanup debug messages diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index e07bccc..1055808 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -916 +917 @@ func (b *Birc) Origin() string {  }    func (b *Birc) Send(msg config.Message) error { + flog.Debugf("Receiving %#v", msg)   if msg.FullOrigin == b.FullOrigin() {   return nil   } diff --git a/gateway/gateway.go b/gateway/gateway.go index e1131f1..18ded7c 100644 --- a/gateway/gateway.go +++ b/gateway/gateway.go @@ -1057 +1057 @@ func (gw *Gateway) handleMessage(msg config.Message, dest bridge.Bridge) {   return   }   gw.modifyMessage(&msg, dest) - log.Debugf("sending %#v from %s to %s", msg, msg.Origin, dest.Origin()) + log.Debugf("Sending %#v from %s to %s", msg, msg.FullOrigin, dest.FullOrigin())   dest.Send(msg)   }  }