| CODENOTIFIER | HelpYou are not signed inSign in |
Project: ejabberd-modules
Revision: 700
Author: badlop
Date: 30 Jul 2008 10:33:53
Changes:Applied change from ejabberd SVN r831: Throw error more cleanly.
Files:| ... | ...@@ -93,7 +93,7 @@ | |
| 93 | 93 | case lists:keysearch(Opt, 1, Opts) of |
| 94 | 94 | false -> |
| 95 | 95 | % TODO: replace with more appropriate function |
| 96 | [] = {undefined_option, Opt}; | |
| 96 | throw({undefined_option, Opt}); | |
| 97 | 97 | {value, {_, Val}} -> |
| 98 | 98 | Val |
| 99 | 99 | end. |