mirror of
				https://github.com/jlu5/PyLink.git
				synced 2025-10-31 06:57:21 +01:00 
			
		
		
		
	nefarious: add KNOCK stub (not supported on P10)
This commit is contained in:
		
							parent
							
								
									29d2fea3b2
								
							
						
					
					
						commit
						2a6b096401
					
				| @ -305,6 +305,9 @@ class P10Protocol(Protocol): | ||||
|         self._send(numeric, 'D %s :Killed (%s)' % (target, reason)) | ||||
|         self.removeClient(target) | ||||
| 
 | ||||
|     def knock(self, numeric, target, text): | ||||
|         raise NotImplementedError('KNOCK is not supported on P10.') | ||||
| 
 | ||||
|     def message(self, numeric, target, text): | ||||
|         """Sends a PRIVMSG from a PyLink client.""" | ||||
|         if not self.irc.isInternalClient(numeric): | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 James Lu
						James Lu