25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Define opt_type required be ejabberd_config behaviour.

This commit is contained in:
Paweł Chmielowski 2016-03-04 11:45:18 +01:00
parent 304afd75ac
commit 6e14a47316

View File

@ -39,7 +39,7 @@
s2s_send_packet, s2s_receive_packet, s2s_send_packet, s2s_receive_packet,
remove_user, register_user]). remove_user, register_user]).
-export([start/2, stop/1, send_metrics/4]). -export([start/2, stop/1, send_metrics/4, opt_type/1]).
-export([offline_message_hook/3, -export([offline_message_hook/3,
sm_register_connection_hook/3, sm_remove_connection_hook/3, sm_register_connection_hook/3, sm_remove_connection_hook/3,
@ -123,3 +123,6 @@ send_metrics(Host, Probe, Peer, Port) ->
Error -> Error ->
?WARNING_MSG("can not open udp socket to grapherl: ~p", [Error]) ?WARNING_MSG("can not open udp socket to grapherl: ~p", [Error])
end. end.
opt_type(_) ->
[].