From 768e995926c94aec68e6dcea70b62466a00168ba Mon Sep 17 00:00:00 2001 From: Andreas Neue Date: Sun, 24 Jan 2016 14:32:36 +0100 Subject: [PATCH] Changed version info format (using CTCP). --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 82e836d..299937f 100644 --- a/main.go +++ b/main.go @@ -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: } }