anchor.diff:  -behaviour(gen_server).
   
   -define(JID, "mod_copilot@localhost").
  +-define(REPORT_INTERVAL, 60000).
   
   -include("ejabberd.hrl").
   -include("jlib.hrl").
  
positive.code: handle_cast(_Msg, State) ->
    {noreply, State}.
  
  handle_info(_Info, State) ->
    {noreply, State}.
  
  
negative.code: handle_presence(UserState, {_User, Host, _Resource} = JID, IPAddress) ->
    % Processes the stanza in the gen_server
    gen_server:cast(?MODULE, {UserState, JID, IPAddress}),
    %report_event(Host, atom_to_list(UserState)),
    ok.
  
  %%% gen_server %%%
  