kunt

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

commit 429af281e98b3d9aa856bfec8fa56b4a07b4eb7a
parent 8da2307ae59927c53030a8a7b1a978203573e31f
Author: dsp <dsp@2f30.org>
Date:   Tue, 29 Apr 2014 17:58:08 +0100

fix prefix in logging prints

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

diff --git a/src/kunt/kunt.go b/src/kunt/kunt.go @@ -197,13 +197,13 @@ func resolveYoutubeTitle(url string) (title string, ok bool) { //this relates to the way titleregex is title = string(titles[0][35 : len(titles[0])-2]) } else { - log.Printf(" [addurl] could not find the title regexp for url: %s \n", url) + log.Printf(" [resolveYoutubeTitle] could not find the title regexp for url: %s \n", url) } } else { - log.Printf(" [addurl] could not read response body with ioutil\n") + log.Printf(" [resolveYoutubeTitle] could not read response body with ioutil\n") } } else { - log.Printf(" [addurl] could not connect to youtube url for title fetching \n") + log.Printf(" [resolveYoutubeTitle] could not connect to youtube url for title fetching \n") } //print [Youtube] tag in purple title = fmt.Sprintf(" %s%02d[%s]%s %s",