anchor.diff:        {error, <<"http:", ErrMsg/binary>>}
     end.
   
  -status_notice(Status) ->
  -    IrcBot = ircbot_api:new(whereis(freenode)),
  +status_notice(IrcBot, Status) ->
       IrcBot:notice("#lugola", Status).
   
   status_loop(LastStatus, ReqHeaders, Callback) ->
  
positive.code: -define(MAXBODY, 10000).
  
  init(_Args) ->
      spawn_link(?MODULE, status_loop, [undefined, [], fun status_notice/1]),
      {ok, ok}.
  
  
  
negative.code:             doit(IrcBot, Channel);
          {in, IrcBot, [_Nick, _Name, <<"PRIVMSG">>, Channel = <<"#lugola">>, <<"!присутни"/utf8>>]} ->
              doit(IrcBot, Channel);
          {IrcBot, online} ->
              spawn_link(?MODULE, status_loop, [undefined, [], fun (Status) ->  status_notice(IrcBot, Status) end]);
          _ -> ok
      end,
      {ok, State}.
  