summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/thoj/go-ircevent/irc_callback.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/thoj/go-ircevent/irc_callback.go')
-rw-r--r--vendor/github.com/thoj/go-ircevent/irc_callback.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/thoj/go-ircevent/irc_callback.go b/vendor/github.com/thoj/go-ircevent/irc_callback.go
index 109cbb1f..b5622367 100644
--- a/vendor/github.com/thoj/go-ircevent/irc_callback.go
+++ b/vendor/github.com/thoj/go-ircevent/irc_callback.go
@@ -33,7 +33,7 @@ func (irc *Connection) RemoveCallback(eventcode string, i int) bool {
delete(irc.events[eventcode], i)
return true
}
- irc.Log.Printf("Event found, but no callback found at id %s\n", i)
+ irc.Log.Printf("Event found, but no callback found at id %d\n", i)
return false
}
@@ -64,7 +64,7 @@ func (irc *Connection) ReplaceCallback(eventcode string, i int, callback func(*E
event[i] = callback
return
}
- irc.Log.Printf("Event found, but no callback found at id %s\n", i)
+ irc.Log.Printf("Event found, but no callback found at id %d\n", i)
}
irc.Log.Printf("Event not found. Use AddCallBack\n")
}