diff options
author | Adam <Adam@anope.org> | 2012-04-25 14:29:50 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-04-25 14:29:50 -0400 |
commit | 1081ecdae80d10bcac0f8543d665c5579f271e61 (patch) | |
tree | 7b2665bc103c7306b2ec08afc46bac5e7689eb38 /modules/commands/cs_flags.cpp | |
parent | 2370c16f1e9d395e47fc8963b1c301dff160c547 (diff) |
Fixed non-debug build
Diffstat (limited to 'modules/commands/cs_flags.cpp')
-rw-r--r-- | modules/commands/cs_flags.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_flags.cpp b/modules/commands/cs_flags.cpp index 222409eca..35c2aac0a 100644 --- a/modules/commands/cs_flags.cpp +++ b/modules/commands/cs_flags.cpp @@ -196,7 +196,7 @@ class CommandCSFlags : public Command service_reference<AccessProvider> provider("AccessProvider", "access/flags"); if (!provider) return; - FlagsChanAccess *access = debug_cast<FlagsChanAccess *>(provider->Create()); + FlagsChanAccess *access = anope_dynamic_static_cast<FlagsChanAccess *>(provider->Create()); access->ci = ci; access->mask = mask; access->creator = u->nick; |