summaryrefslogtreecommitdiff
path: root/src/core/db_plain.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-06-21 13:27:41 -0400
committerAdam <Adam@anope.org>2010-06-21 17:51:34 -0400
commit4d8f68e0cc31f6b29ee6b3f2945c407025cf4ab0 (patch)
tree71fbfcb8cd13e10538a82f6cdfd01f3dbb7718f0 /src/core/db_plain.cpp
parent7956bd839c0dc809c8796387ab64a95271e768dd (diff)
Fixed some more problems with db-convert
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;