# $EPIC: close,v 1.3 2001/05/07 19:27:08 jnelson Exp $
Synopsis:
   dcc close <type> <nick> [<arguments>]

Description:
   DCC CLOSE closes an unwanted DCC connection, or cancels a pending 
   offer someone has sent you.  The type, nickname, and parameters required 
   are the same as those shown in DCC LIST output.  If no arguments 
   are given, the oldest DCC record for the given type and nick is closed.

   The <type> and <nick> arguments are required.  You may however, use the
   argument "-all" or the argument "*" in place of either <type> or <nick> 
   if you want to close all connections of a certain type or from a certain 
   person.  Note that these are not wildcards; you cannot specify a wildcard
   to the DCC CLOSE command.  It must be either "-all" or "*".

   When DCC CLOSE is used on a pending incoming connection (one that 
   you have not yet opened) it is treated as a rejected request, and a 
   message will be sent to the offerer that you have rejected their DCC
   request.

   When someone sends you a DCC SEND you want to close the GET type
   because of course you are GETting the file.
   
Examples:
   To close an existing DCC CHAT connection with bob:
      /dcc close chat bob

   To reject an incoming DCC SEND connection from bob:
      /dcc close get bob

   To close all DCC CHAT connections:
      /dcc close chat *
         or
      /dcc close chat -all

    To close all DCC connections with or offered by bob:
      /dcc close * bob
         or
      /dcc close -all bob

See Also:
   dcc(1) closeall, list, rename; on(5) dcc_lost

