Fix no-implicit-names to set official flag. As all buildbots failed.

This commit is contained in:
Bram Matthys 2023-12-26 15:41:06 +01:00
parent 600185deba
commit 88c2083df9
No known key found for this signature in database
GPG key ID: BF8116B163EAAE98

View file

@ -36,8 +36,11 @@ long CAP_NO_IMPLICIT_NAMES = 0L;
MOD_INIT()
{
/** We only add the draft version for now */
ClientCapabilityInfo cap;
MARK_AS_OFFICIAL_MODULE(modinfo);
/** We only add the draft/ version for now */
memset(&cap, 0, sizeof(cap));
cap.name = NO_IMPLICIT_NAMES_CAP_DRAFT;
if (!ClientCapabilityAdd(modinfo->handle, &cap, &CAP_NO_IMPLICIT_NAMES_DRAFT))