From 1081ecdae80d10bcac0f8543d665c5579f271e61 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 25 Apr 2012 14:29:50 -0400 Subject: Fixed non-debug build --- modules/commands/cs_xop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/commands/cs_xop.cpp') diff --git a/modules/commands/cs_xop.cpp b/modules/commands/cs_xop.cpp index 807cbe1f6..18adeadb0 100644 --- a/modules/commands/cs_xop.cpp +++ b/modules/commands/cs_xop.cpp @@ -149,7 +149,7 @@ class XOPChanAccess : public ChanAccess { if (access->provider->name == "access/xop") { - const XOPChanAccess *xaccess = debug_cast(access); + const XOPChanAccess *xaccess = anope_dynamic_static_cast(access); return xaccess->type; } else @@ -263,7 +263,7 @@ class XOPBase : public Command service_reference provider("AccessProvider", "access/xop"); if (!provider) return; - XOPChanAccess *acc = debug_cast(provider->Create()); + XOPChanAccess *acc = anope_dynamic_static_cast(provider->Create()); acc->ci = ci; acc->mask = mask; acc->creator = u->nick; -- cgit