anchor.diff:              hackney:close(Ref),
               case Body of
                   LastStatus ->
  -                    status_loop(LastStatus, NewLastModified);
  +                    status_loop(LastStatus, NewLastModified, Callback);
                   _ ->
  -                    IrcBot = ircbot_api:new(whereis(freenode)),
  -                    IrcBot:notice("#lugola", Body),
  -                    status_loop(Body, NewLastModified)
  +                    %% status changed
  +                    Callback(Body),
  +                    status_loop(Body, NewLastModified, Callback)
               end;
           {_, _, _, Ref} ->
               hackney:close(Ref),
  -            status_loop(LastStatus, LastModified);
  +            status_loop(LastStatus, LastModified, Callback);
           {error, _} ->
               timer:sleep(1000),
  -            status_loop(LastStatus, LastModified)
  +            status_loop(LastStatus, LastModified, Callback)
       end.
   
   
  
positive.code: 
  -behaviour(gen_event).
  -export([init/1, handle_event/2, terminate/2, handle_call/2, handle_info/2, code_change/3]).
  -export([status_loop/2, get_status/0, influx_request/2]).
  
  
  -define(MAXBODY, 10000).
  
  init(_Args) ->
      spawn_link(?MODULE, status_loop, [undefined, "0"]),
      {ok, ok}.
  
  
  
negative.code:       {error, <<"http:", ErrMsg/binary>>}
    end.
  
  status_notice(Status) ->
      IrcBot = ircbot_api:new(whereis(freenode)),
      IrcBot:notice("#lugola", Status).
  
  status_loop(LastStatus, LastModified, Callback) ->
      Url = <<"https://hacklab.ie.mk/sub?id=status">>,
      Options = [ {recv_timeout, 120000}, {follow_redirect, true} ],
      Headers = [ {if_modified_since, LastModified} ],
  