Handle the scenario of disabled mod_muc (EJAB-1553)
This commit is contained in:
parent
86435ba9aa
commit
169b83b36d
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue