Renamed liability account
authorJohn Hodge <[email protected]>
Fri, 3 Jun 2011 08:52:47 +0000 (16:52 +0800)
committerJohn Hodge <[email protected]>
Fri, 3 Jun 2011 08:52:47 +0000 (16:52 +0800)
src/cokebank.h
src/server/server.c

index 45d1304..c3c7c6f 100644 (file)
 
 #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
index 3970476..6286f43 100644 (file)
@@ -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");

UCC git Repository :: git.ucc.asn.au