anchor.diff:              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}.
  
positive.code:       {error, <<"http:", ErrMsg/binary>>}
    end.
  
  status_notice(Status) ->
      IrcBot = ircbot_api:new(whereis(freenode)),
      IrcBot:notice("#lugola", Status).
  
  status_loop(LastStatus, ReqHeaders, Callback) ->
  
negative.code: -define(MAXBODY, 10000).
  
  init(_Args) ->
      {ok, ok}.
  
  
  