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>
Tue, 12 Sep 2006 12:49:49 +0000 (12:49 +0000)
(cherry picked from commit 7bb30a8afdfb787824942fa329292ae0ca80f325)

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));