mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-28 16:34:13 +01:00
No need to explicitly return ok here
No need to explicitly return ok here. Return value will be ignored anyway. Signed-off-by: Peter Lemenkov <lemenkov@redhat.com>
This commit is contained in:
parent
a284722fd0
commit
c377708da1
@ -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…
Reference in New Issue
Block a user