Added configurable timeouts and overridable version string

This commit is contained in:
Andrew Montgomery-Hurrell
2014-02-09 10:20:58 +00:00
parent a1d207d5fa
commit c0e6d50e0c
3 changed files with 47 additions and 9 deletions

View File

@@ -84,7 +84,7 @@ func (irc *Connection) setupCallbacks() {
//Version handler
irc.AddCallback("CTCP_VERSION", func(e *Event) {
irc.SendRawf("NOTICE %s :\x01VERSION %s\x01", e.Nick, VERSION)
irc.SendRawf("NOTICE %s :\x01VERSION %s\x01", e.Nick, irc.Version)
})
irc.AddCallback("CTCP_USERINFO", func(e *Event) {