Browse Source

Fix a conditional

svn:r12601
Peter Palfrader 17 years ago
parent
commit
03ddcc90d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/auto-naming/update-named-status.rb

+ 1 - 1
contrib/auto-naming/update-named-status.rb

@@ -29,7 +29,7 @@ require 'db-config'
 
 def do_update(verbose)
 	now = $db.query_row("SELECT max(last_seen) AS max FROM router_claims_nickname")['max']
-	unless now == ''
+	unless now
 		STDERR.puts "Could not find the latest last_seen timestamp.  Is the database empty still?"
 		return
 	end