mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
* src/gen_mod.erl: Throw error more cleanly.
SVN Revision: 831
This commit is contained in:
parent
83397fdc45
commit
8d9e093788
@ -1,5 +1,7 @@
|
|||||||
2007-07-26 Mickael Remond <mickael.remond@process-one.net>
|
2007-07-26 Mickael Remond <mickael.remond@process-one.net>
|
||||||
|
|
||||||
|
* src/gen_mod.erl: Throw error more cleanly.
|
||||||
|
|
||||||
* src/mod_configure.erl: One ACL call was not virtual host
|
* src/mod_configure.erl: One ACL call was not virtual host
|
||||||
compliant.
|
compliant.
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ get_opt(Opt, Opts) ->
|
|||||||
case lists:keysearch(Opt, 1, Opts) of
|
case lists:keysearch(Opt, 1, Opts) of
|
||||||
false ->
|
false ->
|
||||||
% TODO: replace with more appropriate function
|
% TODO: replace with more appropriate function
|
||||||
[] = {undefined_option, Opt};
|
throw({undefined_option, Opt});
|
||||||
{value, {_, Val}} ->
|
{value, {_, Val}} ->
|
||||||
Val
|
Val
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user