diff options
Diffstat (limited to 'modules/commands/cs_entrymsg.cpp')
-rw-r--r-- | modules/commands/cs_entrymsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_entrymsg.cpp b/modules/commands/cs_entrymsg.cpp index 9b5a6753c..3be4d53c7 100644 --- a/modules/commands/cs_entrymsg.cpp +++ b/modules/commands/cs_entrymsg.cpp @@ -63,7 +63,7 @@ Serializable* EntryMsg::unserialize(Serializable *obj, Serialize::Data &data) if (obj) { - EntryMsg *msg = debug_cast<EntryMsg *>(obj); + EntryMsg *msg = anope_dynamic_static_cast<EntryMsg *>(obj); msg->ci = ci; data["creator"] >> msg->creator; data["message"] >> msg->message; |