+2008-01-30 Badlop <badlop@process-one.net>
+
+ * src/mod_echo.erl: Put in comments the call to the educational
+ function do_client_version
+
2008-01-29 Badlop <badlop@process-one.net>
* src/mod_muc/mod_muc_room.erl: MUC kicks a participant if sends a
"" -> jlib:make_error_reply(Packet, ?ERR_BAD_REQUEST);
_ -> Packet
end,
- do_client_version(To, From),
+ %%do_client_version(To, From),
ejabberd_router:route(To, From, Packet2),
{noreply, State};
handle_info(_Info, State) ->
{ok, State}.
%%--------------------------------------------------------------------
-%%% Internal functions
+%% Example of routing XMPP packets using Erlang's message passing
%%--------------------------------------------------------------------
+%% To enable this educational example, uncomment the call to the
+%% function do_client_version in handle_info.
+
%% ejabberd provides a method to receive XMPP packets using Erlang's
%% message passing mechanism.
%%