Committed

git-svn-id: file:///home/svn/incoming/trunk@3550 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2006-03-01 16:16:08 +00:00
parent 7e26814b6c
commit 0b1d97f653
1 changed files with 3 additions and 2 deletions

View File

@ -73,8 +73,6 @@ class DataStore < Hash
next if (var =~ /^\s+$/)
# Remove trailing whitespaces from the value
val.gsub!(/\s+$/, '')
# Invalid parse? Raise an exception and let those bastards know.
if (var == nil or val == nil)
@ -84,6 +82,9 @@ class DataStore < Hash
caller
end
# Remove trailing whitespaces from the value
val.gsub!(/\s+$/, '')
# Store the value
hash[var] = val
}