mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-10-25 05:27:23 +02:00 
			
		
		
		
	Fixed globbing in User.list.
This commit is contained in:
		
							parent
							
								
									747b8f483f
								
							
						
					
					
						commit
						f68ce97d97
					
				| @ -76,8 +76,8 @@ class User(callbacks.Privmsg): | ||||
|             if '*' not in glob and '?' not in glob: | ||||
|                 glob = '*%s*' % glob | ||||
|             r = re.compile(fnmatch.translate(glob), re.I) | ||||
|             def p(s): | ||||
|                 return r.match(s) is not None | ||||
|             def p(u): | ||||
|                 return r.match(u.name) is not None | ||||
|             predicates.append(p) | ||||
|         users = [] | ||||
|         for u in ircdb.users.itervalues(): | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jeremy Fincher
						Jeremy Fincher