don't output anything if the aliasified command is the same as the reply.
this indicates that none of the modules could actually do anything with that text, so whatever happened probably didn't fire any modules (and if it did, they didn't provide return text anyway)
This commit is contained in:
		
							parent
							
								
									b1e1254564
								
							
						
					
					
						commit
						b9ef46606d
					
				| @ -130,7 +130,8 @@ class Alias(Module): | ||||
|                 if alias_re.match(what): | ||||
|                     command = re.sub(alias, self.config.get(self.__class__.__name__, alias), what) | ||||
|                     reply = self.try_recursion(connection, event, nick, userhost, None, command, admin_unlocked) | ||||
|                     return self.reply(connection, replypath, reply) | ||||
|                     if not reply == command: | ||||
|                         return self.reply(connection, replypath, reply) | ||||
| 
 | ||||
|         except NoOptionError: pass | ||||
|         except NoSectionError: pass | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user