mirror of
https://code.dnix.de/da/flokatirc
synced 2026-07-27 07:49:44 +02:00
Changed version info format (using CTCP).
This commit is contained in:
@@ -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:
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user