diff options
-rw-r--r-- | bridge/irc/irc.go | 1 | ||||
-rw-r--r-- | gateway/gateway.go | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index e07bccc2..1055808a 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -91,6 +91,7 @@ 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 e1131f19..18ded7cd 100644 --- a/gateway/gateway.go +++ b/gateway/gateway.go @@ -105,7 +105,7 @@ 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) } } |