summaryrefslogtreecommitdiff
path: root/modules/database/db_old.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-12-19 08:19:35 -0500
committerAdam <Adam@anope.org>2013-12-19 08:24:21 -0500
commit275f2fd374a75896b356297c1d9de8b13a894d1c (patch)
tree4a221d838306eb75c7b83b4740905cc460321ebf /modules/database/db_old.cpp
parentc4d4107412554bd0bdebb1285ff4a8c5613175f4 (diff)
Fix db_old assigning empty greets to users who did not have a greet. Fix debug log message in extensible.cpp
Diffstat (limited to 'modules/database/db_old.cpp')
-rw-r--r--modules/database/db_old.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp
index c017eb681..a6627bb8b 100644
--- a/modules/database/db_old.cpp
+++ b/modules/database/db_old.cpp
@@ -450,7 +450,8 @@ static void LoadNicks()
nc->email = buffer;
READ(read_string(buffer, f));
- nc->Extend<Anope::string>("greet", buffer);
+ if (!buffer.empty())
+ nc->Extend<Anope::string>("greet", buffer);
uint32_t u32;
READ(read_uint32(&u32, f));