mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-10-30 23:27:24 +01:00 
			
		
		
		
	Fix commit 30a026a
Requesting multiple capabilities in one message will result in a NAK for all of them if at least one is not supported by the server.
This commit is contained in:
		
							parent
							
								
									ccea98b428
								
							
						
					
					
						commit
						5653e0c727
					
				| @ -962,8 +962,8 @@ class Irc(IrcCommandDispatcher): | ||||
|         elif self.sasl_username and self.sasl_password: | ||||
|             self.sasl = 'plain' | ||||
| 
 | ||||
|         self.queueMsg(ircmsgs.IrcMsg(command='CAP', args=('REQ', | ||||
|             'account-notify extended-join multi-prefix'))) | ||||
|         for cap in ('account-notify', 'extended-join', 'multi-prefix'): | ||||
|             self.queueMsg(ircmsgs.IrcMsg(command='CAP', args=('REQ', cap))) | ||||
| 
 | ||||
|         if self.sasl: | ||||
|             self.queueMsg(ircmsgs.IrcMsg(command='CAP', args=('REQ', 'sasl'))) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 nyuszika7h
						nyuszika7h