mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd:Ⓜ️ Only set ircd offline presence on clean ~init.
This commit is contained in:
parent
32a67c82c9
commit
140c4a5143
1 changed files with 3 additions and 1 deletions
|
@ -70,7 +70,9 @@ catch(const std::exception &e)
|
|||
ircd::m::init::~init()
|
||||
noexcept try
|
||||
{
|
||||
presence::set(me, "offline", me_offline_status_msg);
|
||||
if(!std::current_exception())
|
||||
presence::set(me, "offline", me_offline_status_msg);
|
||||
|
||||
m::imports.clear();
|
||||
}
|
||||
catch(const m::error &e)
|
||||
|
|
Loading…
Reference in a new issue