Make rss module less chatty.
This commit is contained in:
		
							parent
							
								
									4dcacaec15
								
							
						
					
					
						commit
						7f79bc154c
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										2
									
								
								main.go
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								main.go
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -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())
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue