diff options
author | Alexey Shchepin <alexey@process-one.net> | 2003-09-26 18:55:01 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2003-09-26 18:55:01 +0000 |
commit | 8888e2528ca55a9c1c7461f850c6cad2e9c66f22 (patch) | |
tree | 0d9482dfab365b3831521b2fe054a68cce0b0347 /src/mod_muc/mod_muc.erl | |
parent | * src/mod_muc/mod_muc_room.erl: Debug output switched off (diff) |
* src/stringprep/: Support for stringprep (not completed yet)
* src/mod_muc/mod_muc.erl: Replaced io:format calls to ?DEBUG ones
SVN Revision: 141
Diffstat (limited to '')
-rw-r--r-- | src/mod_muc/mod_muc.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_muc/mod_muc.erl b/src/mod_muc/mod_muc.erl index 2954eaa5..ce1328ca 100644 --- a/src/mod_muc/mod_muc.erl +++ b/src/mod_muc/mod_muc.erl @@ -180,7 +180,7 @@ do_route(Host, From, To, Packet) -> Type = xml:get_attr_s("type", Attrs), case {Name, Type} of {"presence", ""} -> - io:format("MUC: open new room '~s'~n", [Room]), + ?DEBUG("MUC: open new room '~s'~n", [Room]), {ok, Pid} = mod_muc_room:start( Host, Room, From, Nick), ets:insert( @@ -195,7 +195,7 @@ do_route(Host, From, To, Packet) -> end; [R] -> Pid = R#muc_online_room.pid, - io:format("MUC: send to process ~p~n", [Pid]), + ?DEBUG("MUC: send to process ~p~n", [Pid]), mod_muc_room:route(Pid, From, Nick, Packet), ok end |