aboutsummaryrefslogtreecommitdiffstats
path: root/quota.c
diff options
context:
space:
mode:
authornop <nop>1997-03-03 04:18:21 +0000
committernop <nop>1997-03-03 04:18:21 +0000
commit9cf5366eb0435a19fbc233d53765bb9aeae85be2 (patch)
tree2604ca1ea3ddf09fec07c7c26cea22637c23b5fa /quota.c
parenta515162931c35db517995e3427cb41cee2a63a0a (diff)
downloadmoo-cvs-9cf5366eb0435a19fbc233d53765bb9aeae85be2.tar.gz
moo-cvs-9cf5366eb0435a19fbc233d53765bb9aeae85be2.tar.xz
moo-cvs-9cf5366eb0435a19fbc233d53765bb9aeae85be2.zip
GNU Indent normalization
Diffstat (limited to 'quota.c')
-rw-r--r--quota.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/quota.c b/quota.c
index e0f1623..21982f6 100644
--- a/quota.c
+++ b/quota.c
@@ -20,21 +20,21 @@
#include "quota.h"
#include "structures.h"
-static const char *quota_name = "ownership_quota";
+static const char *quota_name = "ownership_quota";
int
decr_quota(Objid player)
{
- db_prop_handle h;
- Var v;
+ db_prop_handle h;
+ Var v;
if (!valid(player))
return 1;
-
+
h = db_find_property(player, quota_name, &v);
if (!h.ptr)
return 1;
-
+
if (v.type != TYPE_INT)
return 1;
@@ -49,12 +49,12 @@ decr_quota(Objid player)
void
incr_quota(Objid player)
{
- db_prop_handle h;
- Var v;
+ db_prop_handle h;
+ Var v;
if (!valid(player))
return;
-
+
h = db_find_property(player, quota_name, &v);
if (!h.ptr)
return;
@@ -69,9 +69,12 @@ incr_quota(Objid player)
char rcsid_quota[] = "$Id$";
/* $Log$
-/* Revision 1.1 1997/03/03 03:45:01 nop
-/* Initial revision
+/* Revision 1.2 1997/03/03 04:19:19 nop
+/* GNU Indent normalization
/*
+ * Revision 1.1.1.1 1997/03/03 03:45:01 nop
+ * LambdaMOO 1.8.0p5
+ *
* Revision 2.1 1996/02/08 06:54:04 pavel
* Renamed TYPE_NUM to TYPE_INT. Updated copyright notice for 1996.
* Release 1.8.0beta1.