1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-25 05:56:38 +02:00

Get rid of [BUG] message due to no-implicit-names patch if using DEBUGMODE.

main.BUG_CLIENTCAPABILITYBIT_UNKNOWN_TOKEN [warn] [BUG] ClientCapabilityBit() check for unknown token: no-implicit-names
This commit is contained in:
Bram Matthys
2024-01-10 18:02:51 +01:00
parent ae0206a92a
commit b8a8863c19
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -270,7 +270,7 @@ void _join_channel(Channel *channel, Client *client, MessageTag *recv_mtags, con
parv[0] = NULL;
parv[1] = channel->name;
parv[2] = NULL;
if (!HasCapability(client,"draft/no-implicit-names") && !HasCapability(client, "no-implicit-names"))
if (!HasCapability(client,"draft/no-implicit-names") /* && !HasCapability(client, "no-implicit-names") */)
do_cmd(client, NULL, "NAMES", 2, parv);;
unreal_log(ULOG_INFO, "join", "LOCAL_CLIENT_JOIN", client,
+5 -1
View File
@@ -48,7 +48,11 @@ MOD_INIT()
return MOD_FAILED;
}
/** This is for the future :D */
/** This is for the future :D
* If you add this, then also update
* _join_channel in src/modules/join.c to check for it,
* as it is currently commented out there as well.
*/
/**
memset(&cap, 0, sizeof(cap));
cap.name = NO_IMPLICIT_NAMES_CAP;