]> granicus.if.org Git - ejabberd/commitdiff
Define opt_type required be ejabberd_config behaviour.
authorPaweł Chmielowski <pchmielowski@process-one.net>
Fri, 4 Mar 2016 10:45:18 +0000 (11:45 +0100)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Fri, 4 Mar 2016 10:45:18 +0000 (11:45 +0100)
src/mod_metrics.erl

index 3e64da9527239b6a0b561b1d622528798f057b62..c175fcb8e4deaab748b3ef75fde41e261f369264 100644 (file)
@@ -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(_) ->
+     [].