From: Paweł Chmielowski Date: Fri, 4 Mar 2016 10:45:18 +0000 (+0100) Subject: Define opt_type required be ejabberd_config behaviour. X-Git-Tag: 16.03~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6e14a47316c1b94e9f2fb8356bffe87c8931efd4;p=ejabberd Define opt_type required be ejabberd_config behaviour. --- diff --git a/src/mod_metrics.erl b/src/mod_metrics.erl index 3e64da952..c175fcb8e 100644 --- a/src/mod_metrics.erl +++ b/src/mod_metrics.erl @@ -39,7 +39,7 @@ s2s_send_packet, s2s_receive_packet, 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, sm_register_connection_hook/3, sm_remove_connection_hook/3, @@ -123,3 +123,6 @@ send_metrics(Host, Probe, Peer, Port) -> Error -> ?WARNING_MSG("can not open udp socket to grapherl: ~p", [Error]) end. + +opt_type(_) -> + [].