Index: trunk/Nebulous/lib/Nebulous/Server.pm
===================================================================
--- trunk/Nebulous/lib/Nebulous/Server.pm	(revision 5503)
+++ trunk/Nebulous/lib/Nebulous/Server.pm	(revision 5504)
@@ -1,5 +1,5 @@
 # Copyright (c) 2004  Joshua Hoblitt
 #
-# $Id: Server.pm,v 1.16 2005-11-10 21:57:15 jhoblitt Exp $
+# $Id: Server.pm,v 1.17 2005-11-10 22:07:53 jhoblitt Exp $
 
 package Nebulous::Server;
@@ -90,4 +90,8 @@
         {
             type        => SCALAR,
+            callbacks   => {
+                # check that the comment isn't too long
+                'comment length' => sub { length $_[0] < 256 },
+            },
             optional    => 1,
         },
@@ -99,6 +103,4 @@
     # add hooks to make this decision based on avaiable space
     $volume = _get_storage_volume( $volume );
-
-    # check that the comment isn't too long
 
     my $uri;
