Changed version info format (using CTCP).

This commit is contained in:
Andreas Neue 2016-01-24 14:32:36 +01:00
parent 1e218af790
commit 768e995926
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ func ConnectHandler(s ircx.Sender, m *irc.Message) {
})
}
time.Sleep(5 * time.Second)
sayCh <- fmt.Sprintf("%s\n*** %s", "*", SoftwareInfo())
sayCh <- fmt.Sprintf("%s\n\x01ACTION running on %s", "*", SoftwareInfo())
}
func PingHandler(s ircx.Sender, m *irc.Message) {
@ -159,7 +159,7 @@ func HandleMessage(m *irc.Message) {
}
switch tok[0] {
case "!version":
sayCh <- fmt.Sprintf("%s\n*** %s", "*", SoftwareInfo())
sayCh <- fmt.Sprintf("%s\n\x01ACTION running on %s", "*", SoftwareInfo())
default:
}
}