diff --git a/source/commands.c b/source/commands.c index 9f9a147..2015ff7 100644 --- a/source/commands.c +++ b/source/commands.c @@ -3402,35 +3402,13 @@ BUILT_IN_COMMAND(quotecmd) if (args && *args) { char *comm = new_next_arg(args, &args); - protocol_command *p; int cnt; int loc; upper(comm); - p = (protocol_command *)find_fixed_array_item( - (void *)rfc1459, sizeof(protocol_command), + find_fixed_array_item((void *)rfc1459, sizeof(protocol_command), num_protocol_cmds + 1, comm, &cnt, &loc); - /* - * If theyre dispatching some protocol commands we - * dont know about, then let them, without complaint. - */ -#if 0 - if (cnt < 0 && (rfc1459[loc].flags & PROTO_NOQUOTE)) - { - yell("Doing /QUOTE %s is not permitted. Use the client's built in command instead.", comm); - from_server = old_from_server; - return; - } -#endif - /* - * If we know its going to cause a problem in the - * future, whine about it. - */ -#if 0 - if (cnt < 0 && (rfc1459[loc].flags & PROTO_DEPREC)) - yell("Doing /QUOTE %s is discouraged because it will break the client in the future. Use the client's built in command instead.", comm); -#endif if (all_servers) { int i;