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:
+1
-1
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user