summaryrefslogtreecommitdiff
path: root/modules/database/db_old.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-05-21 08:50:40 -0400
committerAdam <Adam@anope.org>2014-05-21 08:50:40 -0400
commitf627a3bacd0d058e94260dac1555790cafd9a926 (patch)
tree4ba71bf94b44ba07abc627ba0c26f3b8b94da439 /modules/database/db_old.cpp
parent5a1257b7f0b44ee3fd4639e5be288d160ceb5095 (diff)
Core prep for p10 stuff
Diffstat (limited to 'modules/database/db_old.cpp')
-rw-r--r--modules/database/db_old.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/database/db_old.cpp b/modules/database/db_old.cpp
index b73afbc41..27b2e4fe9 100644
--- a/modules/database/db_old.cpp
+++ b/modules/database/db_old.cpp
@@ -719,7 +719,7 @@ static void LoadBots()
READ(read_int32(&created, f));
READ(read_int16(&chancount, f));
- BotInfo *bi = BotInfo::Find(nick);
+ BotInfo *bi = BotInfo::Find(nick, true);
if (!bi)
bi = new BotInfo(nick, user, host, real);
bi->created = created;
@@ -975,7 +975,7 @@ static void LoadChannels()
}
READ(read_string(buffer, f));
- ci->bi = BotInfo::Find(buffer);
+ ci->bi = BotInfo::Find(buffer, true);
READ(read_int32(&tmp32, f));
if (tmp32 & OLD_BS_DONTKICKOPS)