1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Merge pull request #994 from philipflohr/master

Fail plugin unloading if plugin does not exist
This commit is contained in:
Michael Vetter 2019-02-20 10:31:34 +01:00 committed by GitHub
commit c8f55ed338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -319,8 +319,9 @@ 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