mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-11-04 08:57:25 +01:00 
			
		
		
		
	
							parent
							
								
									44744fa510
								
							
						
					
					
						commit
						e9088792af
					
				@ -886,4 +886,12 @@ class UnrealProtocol(TS6BaseProtocol):
 | 
			
		||||
 | 
			
		||||
        return super().handle_kill(numeric, command, new_args)
 | 
			
		||||
 | 
			
		||||
    def handle_tsctl(self, source, command, args):
 | 
			
		||||
        """Handles /TSCTL alltime requests."""
 | 
			
		||||
        # <- :GL TSCTL alltime
 | 
			
		||||
 | 
			
		||||
        if args[0] == 'alltime':
 | 
			
		||||
            # XXX: We override notice() here because that abstraction doesn't allow messages from servers.
 | 
			
		||||
            self._send(self.irc.sid, 'NOTICE %s :*** Server=%s time()=%d' % (source, self.irc.hostname(), time.time()))
 | 
			
		||||
 | 
			
		||||
Class = UnrealProtocol
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user