kunt

golang IRC bot
git clone git://git.2f30.org/kunt
Log | Files | Refs | LICENSE

commit d5df9e476ed919d5f7c76bbe5d5cccbb0f711b67
parent 9f23e261a74567dd37b6fd8b6d9174c0f819a15a
Author: sin <sin@2f30.org>
Date:   Fri, 17 May 2013 14:00:02 +0100

remove [Radio]

Diffstat:
Msrc/kunt/kunt.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/kunt/kunt.go b/src/kunt/kunt.go @@ -239,9 +239,9 @@ func cmdRadio(msg irc.Message) { } else { defer np.Body.Close() song, _ := ioutil.ReadAll(np.Body) - r := fmt.Sprintf("[Radio] %s", song) + r := fmt.Sprintf("%s", song) kunt.ircCtx.Privmsg(msg.Args[0], r) - r = "[Radio] http://radio.2f30.org:8000/live.ogg" + r = "http://radio.2f30.org:8000/live.ogg" kunt.ircCtx.Privmsg(msg.Args[0], r) } }