1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 05:26:37 +02:00

Fixed non-debug build

This commit is contained in:
Adam
2012-04-25 14:29:50 -04:00
parent 2370c16f1e
commit 1081ecdae8
40 changed files with 102 additions and 90 deletions
+1 -1
View File
@@ -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;