char *actualUsername;
char *srcName, *dstName;
+ // HACK: Naming a slot "dead" disables it (catch for snack)
+ if( strcmp(ReasonGiven, "dead") == 0 )
+ return 1;
+
if( Ammount < 0 ) return 1; // Um... negative give? Not on my watch!
ret = _Transfer( SrcUser, DestUser, Ammount, ReasonGiven );
/**
* \brief Check if a transfer is possible
+ * \return Boolean success
*/
int _CanTransfer(int Source, int Destination, int Ammount)
{
+ if( Bank_GetFlags(Source) & USER_FLAG_DISABLED )
+ return 0;
if( Ammount > 0 )
{
if( Bank_GetBalance(Source) - Ammount < _GetMinBalance(Source) )