Fix list appending bug

This commit is contained in:
Mickael Remond 2016-07-26 11:57:38 +02:00
parent fede85c9bd
commit 12f74b4aa7
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3
1 changed files with 1 additions and 1 deletions

View File

@ -774,7 +774,7 @@ expand_commands(L, OpenCmds, UserCmds, AdminCmds, RestrictedCmds) when is_list(L
(admin, Acc) -> AdminCmds ++ Acc;
(restricted, Acc) -> RestrictedCmds ++ Acc;
(Command, Acc) when is_atom(Command) ->
[Command, Acc]
[Command|Acc]
end, [], L).
oauth_token_user(noauth) ->