anchor.diff:  %%%
   %%%----------------------------------------------------------------------
   
  --module(mod_opensignal).
  +-module(mod_onesignal).
   -author('phomann@wwwpage.de').
   
   -behaviour(gen_mod).
  
positive.code: %%%----------------------------------------------------------------------
  
  %%% File    : mod_opensignal.erl
  %%% Author  : Philipp Homann <phomann@wwwpage.de>
  %%% Purpose : Forward offline messages to push provider OpenSignal
  %%% Created : 29 Feb 2016 by Philipp Homann <phomann@wwwpage.de>
  %%%
  %%%
  
negative.code: -include("jlib.hrl").
  
  start(Host, _Opts) ->
      ?INFO_MSG("Starting mod_onesignal for host \"~s\"", [Host] ),
      inets:start(),
      ssl:start(),
      ejabberd_hooks:add(offline_message_hook, Host, ?MODULE, send_notice, 10),
      ok.
  
  stop(Host) ->
      ?INFO_MSG("Stopping mod_onesignal for host \"~s\"", [Host] ),
      ejabberd_hooks:delete(offline_message_hook, Host,
  			  ?MODULE, send_notice, 10),
      ok.
  