summaryrefslogtreecommitdiff
path: root/src/core/db_plain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/db_plain.cpp')
-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 23bc774a7..02f319c30 100644
--- a/src/core/db_plain.cpp
+++ b/src/core/db_plain.cpp
@@ -72,6 +72,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;