DrBotIRC: properly debug log welcome events
my git surgery failed me
This commit is contained in:
		
							parent
							
								
									2d98804823
								
							
						
					
					
						commit
						a10e54bcc8
					
				| @ -138,10 +138,10 @@ class DrBotServerConnection(irclib.ServerConnection): | |||||||
| 
 | 
 | ||||||
|         """ |         """ | ||||||
| 
 | 
 | ||||||
|         log.debug("welcome: {0:s}".format(what)) |  | ||||||
| 
 |  | ||||||
|         what = event.arguments()[0] |         what = event.arguments()[0] | ||||||
| 
 | 
 | ||||||
|  |         log.debug("welcome: {0:s}".format(what)) | ||||||
|  | 
 | ||||||
|         match = re.search('(\S+!\S+@\S+)', what) |         match = re.search('(\S+!\S+@\S+)', what) | ||||||
|         if match: |         if match: | ||||||
|             self.nickmask = match.group(1) |             self.nickmask = match.group(1) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user