mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	relay: re-add 'CLAIM #channel -'
This was mistakenly removed in d51c39935118223a3e7087c821af50e52ff152fd due to a merge conflict, oops...
This commit is contained in:
		
							parent
							
								
									51d8d3b3b8
								
							
						
					
					
						commit
						62669c085d
					
				@ -2080,7 +2080,10 @@ def claim(irc, source, args):
 | 
			
		||||
        irc.reply('Channel \x02%s\x02 is claimed by: %s' %
 | 
			
		||||
                (channel, ', '.join(claimed) or '\x1D(none)\x1D'))
 | 
			
		||||
    else:
 | 
			
		||||
        claimed = set(nets.split(','))
 | 
			
		||||
        if nets == '-' or not nets:
 | 
			
		||||
            claimed = set()
 | 
			
		||||
        else:
 | 
			
		||||
            claimed = set(nets.split(','))
 | 
			
		||||
    db[relay]["claim"] = claimed
 | 
			
		||||
    irc.reply('CLAIM for channel \x02%s\x02 set to: %s' %
 | 
			
		||||
            (channel, ', '.join(claimed) or '\x1D(none)\x1D'))
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user