X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/dd35c00e9a5be37b91f9a2f509cf2cacbb3b5323..80e32fcd996025093c28b304d91d376b72c1496e:/parser/parser.h diff --git a/parser/parser.h b/parser/parser.h index 794d9686..870a9bf8 100644 --- a/parser/parser.h +++ b/parser/parser.h @@ -39,6 +39,7 @@ typedef struct Command { CommandHandler handler; /* Function to deal with the message */ void *ext; /* Pointer to some arbitrary other data */ DestroyExt destroyext; /* Function to destroy ->ext on destroycommandtree (if necessary) */ + unsigned int calls; /* How many times this command has been called */ struct Command *next; /* Next handler chained onto this command */ } Command;