[vhffs-dev] [553] Hoho... |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 553
Author: gradator
Date: 2007-04-10 15:31:35 +0000 (Tue, 10 Apr 2007)
Log Message:
-----------
Hoho...
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Services/DNS.pm
Modified: trunk/vhffs-api/src/Vhffs/Services/DNS.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Services/DNS.pm 2007-04-10 12:05:15 UTC (rev 552)
+++ trunk/vhffs-api/src/Vhffs/Services/DNS.pm 2007-04-10 15:31:35 UTC (rev 553)
@@ -525,7 +525,7 @@
$ttl = 900 if ( ! defined $ttl );
$name = "" if( $name eq "default" );
return -1 if ( $self->name_exists( $name ) != 0 );
- return -1 if( ! ($name =~ /^[a-z0-9\-]*|\*$/ ) );
+ return -1 if( ! ($name =~ /^(?:[a-z0-9\-]*|\*)$/ ) );
if( ! defined $ip )
{