summaryrefslogtreecommitdiff
path: root/modules/database/db_old.cpp
diff options
context:
space:
mode:
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));