mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Merge pull request #1502 from lemenkov/ignore_output_val
No need to explicitly return ok here
This commit is contained in:
commit
649d3b753b
3 changed files with 3 additions and 6 deletions
|
@ -35,8 +35,7 @@
|
||||||
-record(state, {server = <<"">> :: binary()}).
|
-record(state, {server = <<"">> :: binary()}).
|
||||||
|
|
||||||
start(_Opts) ->
|
start(_Opts) ->
|
||||||
cyrsasl:register_mechanism(<<"ANONYMOUS">>, ?MODULE, plain),
|
cyrsasl:register_mechanism(<<"ANONYMOUS">>, ?MODULE, plain).
|
||||||
ok.
|
|
||||||
|
|
||||||
stop() -> ok.
|
stop() -> ok.
|
||||||
|
|
||||||
|
|
|
@ -36,8 +36,7 @@
|
||||||
-export_type([error_reason/0]).
|
-export_type([error_reason/0]).
|
||||||
|
|
||||||
start(_Opts) ->
|
start(_Opts) ->
|
||||||
cyrsasl:register_mechanism(<<"X-OAUTH2">>, ?MODULE, plain),
|
cyrsasl:register_mechanism(<<"X-OAUTH2">>, ?MODULE, plain).
|
||||||
ok.
|
|
||||||
|
|
||||||
stop() -> ok.
|
stop() -> ok.
|
||||||
|
|
||||||
|
|
|
@ -36,8 +36,7 @@
|
||||||
-export_type([error_reason/0]).
|
-export_type([error_reason/0]).
|
||||||
|
|
||||||
start(_Opts) ->
|
start(_Opts) ->
|
||||||
cyrsasl:register_mechanism(<<"PLAIN">>, ?MODULE, plain),
|
cyrsasl:register_mechanism(<<"PLAIN">>, ?MODULE, plain).
|
||||||
ok.
|
|
||||||
|
|
||||||
stop() -> ok.
|
stop() -> ok.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue