Merge pull request #31 from scrapbird/master
Fixed a bug in irc_callback.go on line 163 where a Message is treated as...
This commit is contained in:
commit
da2e16496d
@ -160,7 +160,7 @@ func (irc *Connection) setupCallbacks() {
|
|||||||
irc.SendRawf("NOTICE %s :\x01TIME %s\x01", e.Nick, ltime.String())
|
irc.SendRawf("NOTICE %s :\x01TIME %s\x01", e.Nick, ltime.String())
|
||||||
})
|
})
|
||||||
|
|
||||||
irc.AddCallback("CTCP_PING", func(e *Event) { irc.SendRawf("NOTICE %s :\x01%s\x01", e.Nick, e.Message) })
|
irc.AddCallback("CTCP_PING", func(e *Event) { irc.SendRawf("NOTICE %s :\x01%s\x01", e.Nick, e.Message ()) })
|
||||||
|
|
||||||
irc.AddCallback("437", func(e *Event) {
|
irc.AddCallback("437", func(e *Event) {
|
||||||
irc.nickcurrent = irc.nickcurrent + "_"
|
irc.nickcurrent = irc.nickcurrent + "_"
|
||||||
|
Loading…
Reference in New Issue
Block a user