diff options
author | Philip Flohr <philip.flohr@student.kit.edu> | 2018-04-21 08:53:43 +0200 |
---|---|---|
committer | Philip Flohr <philip.flohr@hadiko.dem> | 2019-02-20 10:21:17 +0100 |
commit | d1c54e9aaa3b6b9343759ab0e7572d5b71203b71 (patch) | |
tree | 4f07e593dc9d51ad289dc9704eeb1e8800222e75 /src | |
parent | 34aa7a717cf3f19b77cd5556f2bda91cdbfb2a30 (diff) | |
download | profani-tty-d1c54e9aaa3b6b9343759ab0e7572d5b71203b71.tar.gz |
Fail plugin unload operation if plugin does not exist
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/plugins.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/plugins.c b/src/plugins/plugins.c index ced170fe..d26f6a9e 100644 --- a/src/plugins/plugins.c +++ b/src/plugins/plugins.c @@ -296,8 +296,9 @@ plugins_unload(const char *const name) resource_presence_t last_presence = accounts_get_last_presence(account_name); cl_ev_presence_send(last_presence, 0); } + return TRUE; } - return TRUE; + return FALSE; } void |