create_div() warning fix
authorAri Johnson <ari@nveid.com>
Sat, 14 Oct 2006 19:10:29 +0000 (19:10 +0000)
committerAri Johnson <ari@nveid.com>
Sat, 14 Oct 2006 19:10:29 +0000 (19:10 +0000)
src/division.c

index f99c40967460a1fadb83cf44a7f1628b4f13acf0..1dc8557db66e256627e47dc82702e55b74e3a797 100644 (file)
@@ -1566,7 +1566,7 @@ create_div(dbref owner, const char *name)
   dbref obj, loc;
 
   if(!can_pay_fees(owner, DIVISION_COST))
-    return;
+    return NOTHING;
 
   if (!div_powover(owner, owner, "Division")) {
     notify(owner, T(e_perm));