summaryrefslogtreecommitdiff
path: root/modules/database/db_old.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-02-22 16:25:20 -0500
committerAdam <Adam@anope.org>2012-02-22 16:25:20 -0500
commit81e50dd1f404c9bad008fe1b569dad134df91125 (patch)
tree978f88d6833e65c26cec7c848ad07938530a3589 /modules/database/db_old.cpp
parentbd31fbb9f0bd0ff282c6413928e61b819f0ee474 (diff)
Fixed db_old loading memo owners
Diffstat (limited to 'modules/database/db_old.cpp')
-rw-r--r--modules/database/db_old.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp
index 45d6aaaea..5268a345d 100644
--- a/modules/database/db_old.cpp
+++ b/modules/database/db_old.cpp
@@ -516,6 +516,7 @@ static void LoadNicks()
READ(read_buffer(sbuf, f));
m->sender = sbuf;
READ(read_string(m->text, f));
+ m->owner = nc->display;
nc->memos.memos.push_back(m);
}
READ(read_uint16(&u16, f));
@@ -795,6 +796,7 @@ static void LoadChannels()
READ(read_buffer(sbuf, f));
m->sender = sbuf;
READ(read_string(m->text, f));
+ m->owner = ci->name;
ci->memos.memos.push_back(m);
}