mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-10-31 07:37:22 +01:00 
			
		
		
		
	I got rid of callbacks.IrcObjectProxy.finished.
This commit is contained in:
		
							parent
							
								
									4f49f11f20
								
							
						
					
					
						commit
						12269e0986
					
				| @ -478,11 +478,7 @@ class Infobot(callbacks.PrivmsgCommandAndRegexp): | ||||
|             self.log.debug('Returning early from doPrivmsg, msg.repliedTo.') | ||||
|             return | ||||
|         try: | ||||
|             if ircmsgs.isCtcp(msg): | ||||
|                 return | ||||
|             # probably not necessary, but we'll see what the debug logs show | ||||
|             if getattr(irc, 'finished', False): | ||||
|                 self.log.debug('Received a finished irc object. Bailing.') | ||||
|             if ircmsgs.isCtcp(msg) or msg.repliedTo: | ||||
|                 return | ||||
|             maybeAddressed = callbacks.addressed(irc.nick, msg, | ||||
|                                                  whenAddressedByNick=True) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jeremy Fincher
						Jeremy Fincher