summaryrefslogtreecommitdiff
path: root/modules/commands/cs_suspend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_suspend.cpp')
-rw-r--r--modules/commands/cs_suspend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_suspend.cpp b/modules/commands/cs_suspend.cpp
index d5898083e..803202a26 100644
--- a/modules/commands/cs_suspend.cpp
+++ b/modules/commands/cs_suspend.cpp
@@ -50,7 +50,7 @@ struct ChanSuspend : ExtensibleItem, Serializable
ChanSuspend *cs;
if (obj)
- cs = debug_cast<ChanSuspend *>(obj);
+ cs = anope_dynamic_static_cast<ChanSuspend *>(obj);
else
cs = new ChanSuspend();