summaryrefslogtreecommitdiffstats
path: root/bridge/irc
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-08-16 23:02:28 +0200
committerWim <wim@42.be>2018-08-16 23:02:28 +0200
commit351b423e156698e2bb66cd2168e40f9548bc1f93 (patch)
treee8f6652317145accc1b550c922ea0e6e26ec032b /bridge/irc
parent7690be16478338798ee560c6c5a05a4817593d03 (diff)
downloadmatterbridge-msglm-351b423e156698e2bb66cd2168e40f9548bc1f93.tar.gz
matterbridge-msglm-351b423e156698e2bb66cd2168e40f9548bc1f93.tar.bz2
matterbridge-msglm-351b423e156698e2bb66cd2168e40f9548bc1f93.zip
Add a bit more debugging (irc). #482
Diffstat (limited to 'bridge/irc')
-rw-r--r--bridge/irc/irc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go
index 5b1d74eb..deec8970 100644
--- a/bridge/irc/irc.go
+++ b/bridge/irc/irc.go
@@ -334,6 +334,7 @@ func (b *Birc) handleJoinPart(client *girc.Client, event girc.Event) {
func (b *Birc) handleNotice(client *girc.Client, event girc.Event) {
if strings.Contains(event.String(), "This nickname is registered") && event.Source.Name == b.GetString("NickServNick") {
+ b.Log.Debugf("Sending identify to nickserv %s", b.GetString("NickServNick"))
b.i.Cmd.Message(b.GetString("NickServNick"), "IDENTIFY "+b.GetString("NickServPassword"))
} else {
b.handlePrivMsg(client, event)