Merge pull request #39 from weiss/fix-stats-arg-types
mod_admin_extra: Fix argument types
This commit is contained in:
		
						commit
						ba64c794c7
					
				| @ -532,12 +532,12 @@ commands() -> | ||||
|      #ejabberd_commands{name = stats, tags = [stats], | ||||
| 			desc = "Get statistical value: registeredusers onlineusers onlineusersnode uptimeseconds", | ||||
| 			module = ?MODULE, function = stats, | ||||
| 			args = [{name, string}], | ||||
| 			args = [{name, binary}], | ||||
| 			result = {stat, integer}}, | ||||
|      #ejabberd_commands{name = stats_host, tags = [stats], | ||||
| 			desc = "Get statistical value for this host: registeredusers onlineusers", | ||||
| 			module = ?MODULE, function = stats, | ||||
| 			args = [{name, string}, {host, string}], | ||||
| 			args = [{name, binary}, {host, binary}], | ||||
| 			result = {stat, integer}} | ||||
|     ]. | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user