anchor.diff:  %%--------------------------------------------------------------------
   %%% Internal functions
   %%--------------------------------------------------------------------
  +
  +send(Msg, {To, _Nick}) when is_pid(To); is_atom(To) ->
  +    To ! Msg;
  +send(Msg, To) when is_pid(To); is_atom(To) ->
  +    To ! Msg.
  +
  +srv_msg(Msg, Ref, C = #state{}) when is_reference(Ref) ->
  +    gen_irc:msg(server, Ref, C#state.name, Msg).
  
positive.code: %% @doc Non gen-server message handler callbacks
  %% @end
  %%--------------------------------------------------------------------
  handle_info(Info, State) ->
      ?WARN("Unexpected info ~p", [Info]),
      {noreply, State}.
  
negative.code: -export([init/1, handle_call/3, handle_cast/2, handle_info/2,
           terminate/2, code_change/3]).
  
  -record(state, {net, name, users = [], channels = []}).
  -record(user, {nick, pid, ref}).
  -record(chan, {name, pid, ref}).
  -define(SERVER, ?MODULE).
  
  %%====================================================================
  