mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Fail plugin unload operation if plugin does not exist
This commit is contained in:
parent
34aa7a717c
commit
d1c54e9aaa
@ -296,9 +296,10 @@ plugins_unload(const char *const name)
|
|||||||
resource_presence_t last_presence = accounts_get_last_presence(account_name);
|
resource_presence_t last_presence = accounts_get_last_presence(account_name);
|
||||||
cl_ev_presence_send(last_presence, 0);
|
cl_ev_presence_send(last_presence, 0);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
plugins_reload_all(void)
|
plugins_reload_all(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user