mirror of
				https://github.com/ergochat/ergo.git
				synced 2025-11-03 23:37:22 +01:00 
			
		
		
		
	improve an error message
This commit is contained in:
		
							parent
							
								
									b717402b5e
								
							
						
					
					
						commit
						78da024b24
					
				@ -482,7 +482,7 @@ func (conf *Config) Operators(oc map[string]*OperClass) (map[string]*Oper, error
 | 
			
		||||
		if opConf.Password != "" {
 | 
			
		||||
			oper.Pass, err = decodeLegacyPasswordHash(opConf.Password)
 | 
			
		||||
			if err != nil {
 | 
			
		||||
				return nil, err
 | 
			
		||||
				return nil, fmt.Errorf("Oper %s has an invalid password hash: %s", oper.Name, err.Error())
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		oper.Fingerprint = opConf.Fingerprint
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user