24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-02 21:17:12 +02:00

Handle the scenario of disabled mod_muc (EJAB-1553)

This commit is contained in:
Badlop 2012-04-14 23:29:30 +02:00
parent 86435ba9aa
commit 169b83b36d

View File

@ -271,7 +271,7 @@ stop_kindly(DelaySeconds, AnnouncementText) ->
- TimestampStart, - TimestampStart,
io:format("[~p/~p ~ps] ~s... ", io:format("[~p/~p ~ps] ~s... ",
[NumberThis, NumberLast, SecondsDiff, Desc]), [NumberThis, NumberLast, SecondsDiff, Desc]),
Result = apply(Mod, Func, Args), Result = (catch apply(Mod, Func, Args)),
io:format("~p~n", [Result]), io:format("~p~n", [Result]),
NumberThis+1 NumberThis+1
end, end,