mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-25 14:24:55 +02:00
Fix list appending bug
This commit is contained in:
parent
fede85c9bd
commit
12f74b4aa7
@ -774,7 +774,7 @@ expand_commands(L, OpenCmds, UserCmds, AdminCmds, RestrictedCmds) when is_list(L
|
|||||||
(admin, Acc) -> AdminCmds ++ Acc;
|
(admin, Acc) -> AdminCmds ++ Acc;
|
||||||
(restricted, Acc) -> RestrictedCmds ++ Acc;
|
(restricted, Acc) -> RestrictedCmds ++ Acc;
|
||||||
(Command, Acc) when is_atom(Command) ->
|
(Command, Acc) when is_atom(Command) ->
|
||||||
[Command, Acc]
|
[Command|Acc]
|
||||||
end, [], L).
|
end, [], L).
|
||||||
|
|
||||||
oauth_token_user(noauth) ->
|
oauth_token_user(noauth) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user