From: John Hodge Date: Fri, 3 Jun 2011 08:52:47 +0000 (+0800) Subject: Renamed liability account X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=5cf5f1c0479d0052d53ea735895a550a0e455287;p=tpg%2Fopendispense2.git Renamed liability account --- diff --git a/src/cokebank.h b/src/cokebank.h index 45d1304..c3c7c6f 100644 --- a/src/cokebank.h +++ b/src/cokebank.h @@ -18,9 +18,10 @@ #define COKEBANK_SALES_ACCT ">sales" //!< Sales made into #define COKEBANK_SALES_PREFIX ">sales:" //!< Sales made into -#define COKEBANK_DEBT_ACCT ">liability" //!< Credit taken out of +#define COKEBANK_DEBT_ACCT ">countersum" //!< Credit taken out of #define COKEBANK_FREE_ACCT ">freeitems" //!< ODay drink costs taken out of #define COKEBANK_DONATE_ACCT ">donations" //!< Donations go here +#define COKEBANK_GRAT_ACCR ">gratuities" //!< Coke runs and new users /** * \brief Account iterator opaque structure diff --git a/src/server/server.c b/src/server/server.c index 3970476..6286f43 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -1344,8 +1344,8 @@ void Server_Cmd_USERFLAGS(tClient *Client, char *Args) Bank_SetFlags(uid, mask, value); // Log the change - Log_Info("Updated '%s' with flag set '%s' - Reason: %s", - username, flags, reason); + Log_Info("Updated '%s' with flag set '%s' by '%s' - Reason: %s", + username, flags, Client->Username, reason); // Return OK sendf(Client->Socket, "200 User Updated\n");