diff options
author | Adam <Adam@anope.org> | 2012-04-25 14:29:50 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-04-25 14:29:50 -0400 |
commit | 1081ecdae80d10bcac0f8543d665c5579f271e61 (patch) | |
tree | 7b2665bc103c7306b2ec08afc46bac5e7689eb38 /src/bots.cpp | |
parent | 2370c16f1e9d395e47fc8963b1c301dff160c547 (diff) |
Fixed non-debug build
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index e9d279c3e..a4db8b5a3 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -97,7 +97,7 @@ Serializable* BotInfo::unserialize(Serializable *obj, Serialize::Data &data) { BotInfo *bi; if (obj) - bi = debug_cast<BotInfo *>(obj); + bi = anope_dynamic_static_cast<BotInfo *>(obj); else if (!(bi = findbot(data["nick"].astr()))) bi = new BotInfo(data["nick"].astr(), data["user"].astr(), data["host"].astr(), data["realname"].astr()); data["created"] >> bi->created; |