Make rss module less chatty.

This commit is contained in:
Andreas Neue 2016-02-28 12:38:32 +01:00
parent 4dcacaec15
commit 7f79bc154c
2 changed files with 2 additions and 2 deletions

View File

@ -140,6 +140,6 @@ func HandleMessage(m *irc.Message) {
}
func SoftwareInfo() string {
return fmt.Sprintf("flokatirc %s-%s (built %s [%])", version.FlokatiVersion,
return fmt.Sprintf("flokatirc %s-%s (built %s [%s])", version.FlokatiVersion,
version.FlokatiBuild, version.FlokatiBuilddate, runtime.Version())
}

View File

@ -66,7 +66,7 @@ func rssPollFeed(uri string, timeout int, cr xmlx.CharsetFunc) {
}
func rssChanHandler(feed *gorss.Feed, newchannels []*gorss.Channel) {
SayCh <- fmt.Sprintf("%s\n[RSS] %d new channel(s) in %s", "*", len(newchannels), feed.Url)
//SayCh <- fmt.Sprintf("%s\n[RSS] %d new channel(s) in %s", "*", len(newchannels), feed.Url)
}
func rssItemHandler(feed *gorss.Feed, ch *gorss.Channel, newitems []*gorss.Item) {