summaryrefslogtreecommitdiff
path: root/modules/commands/os_session.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-04-25 14:29:50 -0400
committerAdam <Adam@anope.org>2012-04-25 14:29:50 -0400
commit1081ecdae80d10bcac0f8543d665c5579f271e61 (patch)
tree7b2665bc103c7306b2ec08afc46bac5e7689eb38 /modules/commands/os_session.h
parent2370c16f1e9d395e47fc8963b1c301dff160c547 (diff)
Fixed non-debug build
Diffstat (limited to 'modules/commands/os_session.h')
-rw-r--r--modules/commands/os_session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_session.h b/modules/commands/os_session.h
index b40177a32..75764b12d 100644
--- a/modules/commands/os_session.h
+++ b/modules/commands/os_session.h
@@ -72,7 +72,7 @@ Serializable* Exception::unserialize(Serializable *obj, Serialize::Data &data)
Exception *ex;
if (obj)
- ex = debug_cast<Exception *>(obj);
+ ex = anope_dynamic_static_cast<Exception *>(obj);
else
ex = new Exception;
data["mask"] >> ex->mask;