IrcAdmin: note limitation with automsg and vhosts
i feel as if i should fix this eventually, but it's pretty low on the priority list, to be honest
This commit is contained in:
		
							parent
							
								
									b51b8b521d
								
							
						
					
					
						commit
						8a5e6b9130
					
				
							
								
								
									
										1
									
								
								TODO
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								TODO
									
									
									
									
									
								
							| @ -20,3 +20,4 @@ dr.botzo --- TODO | |||||||
|         FROM SERVER: ERROR :Closing Link: dr_botzo[ayu.incorporeal.org] (Ping timeout)  |         FROM SERVER: ERROR :Closing Link: dr_botzo[ayu.incorporeal.org] (Ping timeout)  | ||||||
|         command: error, source: None, target: Closing Link: dr_botzo[ayu.incorporeal.org] (Ping timeout), arguments: [] |         command: error, source: None, target: Closing Link: dr_botzo[ayu.incorporeal.org] (Ping timeout), arguments: [] | ||||||
|    * proper logging via logging |    * proper logging via logging | ||||||
|  |    * automsg vhost TODO in IrcAdmin | ||||||
|  | |||||||
| @ -47,6 +47,8 @@ class IrcAdmin(Module): | |||||||
|         except NoOptionError: pass |         except NoOptionError: pass | ||||||
| 
 | 
 | ||||||
|         # run automsg commands |         # run automsg commands | ||||||
|  |         # TODO NOTE: if the bot is sending something that changes the vhost | ||||||
|  |         # (like 'hostserv on') we don't pick it up | ||||||
|         try: |         try: | ||||||
|             automsgs = self.config.get(self.__class__.__name__, 'automsg').split(',') |             automsgs = self.config.get(self.__class__.__name__, 'automsg').split(',') | ||||||
|             for command in automsgs: |             for command in automsgs: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user