Index: trunk/Nebulous-Server/lib/Nebulous/Server.pm
===================================================================
--- trunk/Nebulous-Server/lib/Nebulous/Server.pm	(revision 17536)
+++ trunk/Nebulous-Server/lib/Nebulous/Server.pm	(revision 17539)
@@ -1,5 +1,5 @@
 # Copyright (c) 2004-2008  Joshua Hoblitt
 #
-# $Id: Server.pm,v 1.61 2008-05-06 02:51:20 jhoblitt Exp $
+# $Id: Server.pm,v 1.62 2008-05-06 22:10:58 jhoblitt Exp $
 
 package Nebulous::Server;
@@ -7,4 +7,5 @@
 use strict;
 use warnings FATAL => qw( all );
+no warnings qw( uninitialized );
 
 our $VERSION = '0.08';
@@ -151,5 +152,8 @@
             callbacks   => {
                 # check that the volume requested is valid
-                'is valid volume name' => sub { $self->_is_valid_volume_name($_[0]) },
+                'is valid volume name' => sub {
+                    return 1 if not defined $_[0];
+                    $self->_is_valid_volume_name($_[0])
+                },
             },
             optional    => 1,
@@ -317,8 +321,11 @@
         },
         {
-            type        => SCALAR,
+            type        => SCALAR|UNDEF,
             callbacks   => {
                 # check that the volume name requested is valid
-                'is valid volume name' => sub { $self->_is_valid_volume_name($_[0]) },
+                'is valid volume name' => sub {
+                    return 1 if not defined $_[0];
+                    $self->_is_valid_volume_name($_[0])
+                },
             },
             optional    => 1,
@@ -910,8 +917,11 @@
         },
         {
-            type        => SCALAR,
+            type        => SCALAR|UNDEF,
             callbacks   => {
                 # check that the volume name requested is valid
-                'is valid volume name' => sub { $self->_is_valid_volume_name($_[0]) },
+                'is valid volume name' => sub {
+                    return 1 if not defined $_[0];
+                    $self->_is_valid_volume_name($_[0])
+                },
             },
             optional    => 1,
