summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/db_plain.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/db_plain.cpp b/src/core/db_plain.cpp
index 82a2c0bd4..d88bbbdaa 100644
--- a/src/core/db_plain.cpp
+++ b/src/core/db_plain.cpp
@@ -73,6 +73,8 @@ static void ReadDatabase(Module *m = NULL)
buf.erase(buf.begin());
if (!buf.empty() && !sep.StreamEnd())
params.push_back(buf + " " + sep.GetRemaining());
+ else if (!sep.StreamEnd())
+ params.push_back(sep.GetRemaining());
else if (!buf.empty())
params.push_back(buf);
break;