]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/parse.h
ngIRCd Release 27
[ngircd-alex.git] / src / ngircd / parse.h
index beac227521b6d1d677df721b617f795b7e44bd62..48260c67017388cc499032f863dcc626e43104be 100644 (file)
@@ -25,7 +25,7 @@ typedef struct _REQUEST
        char *prefix;                   /**< Prefix */
        char *command;                  /**< IRC command */
        char *argv[15];                 /**< Parameters, at most 15 (0..14) */
-       int argc;                       /**< Number of given paramaters */
+       int argc;                       /**< Number of given parameters */
 } REQUEST;
 
 /** IRC command handling structure */
@@ -37,6 +37,7 @@ typedef struct _COMMAND
        CLIENT_TYPE type;               /**< Valid client types (bit mask) */
        int min_argc;                   /**< Min parameters */
        int max_argc;                   /**< Max parameters */
+       int penalty;                    /**< Penalty for this command */
        long lcount, rcount;            /**< Number of local and remote calls */
        long bytes;                     /**< Number of bytes created */
 } COMMAND;