diff options
author | Badlop <badlop@process-one.net> | 2019-06-19 09:26:28 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2019-06-19 09:31:12 +0200 |
commit | c318b5f8a235d5c5d26146f2ec28a1bf0aba7b82 (patch) | |
tree | c31c446dd1a79d55eb73b43cd9f71e0ea624ca63 /src/ejabberd_commands.erl | |
parent | Add support for backwards compatibility in command argument names (#2908) (diff) |
Rename remaining command arguments from Server to Host (#2908)
Diffstat (limited to '')
-rw-r--r-- | src/ejabberd_commands.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_commands.erl b/src/ejabberd_commands.erl index d01a88595..4c6b3b695 100644 --- a/src/ejabberd_commands.erl +++ b/src/ejabberd_commands.erl @@ -374,7 +374,7 @@ get_command_format(Name, Auth, Version) -> case Policy of user when Admin; Auth == noauth -> - {[{user, binary}, {server, binary} | Args], Rename, Result}; + {[{user, binary}, {host, binary} | Args], Rename, Result}; _ -> {Args, Rename, Result} end. |