1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-05-12 18:44:50 +00:00

Add github link to CTCP VERSION reply

This commit is contained in:
raylu 2011-03-09 16:05:19 -06:00
parent d07e0b9dc2
commit 186519214f

View file

@ -121,7 +121,7 @@ func (conn *Conn) h_NICK(line *Line) {
// Handle VERSION requests and CTCP PING
func (conn *Conn) h_CTCP(line *Line) {
if line.Args[0] == "VERSION" {
conn.CtcpReply(line.Nick, "VERSION", "powered by goirc...")
conn.CtcpReply(line.Nick, "VERSION", "powered by goirc... https://github.com/raylu/rbot")
} else if line.Args[0] == "PING" {
conn.CtcpReply(line.Nick, "PING", line.Args[2])
}