summaryrefslogtreecommitdiff
path: root/modules/extra/mysql/db_mysql_write.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/mysql/db_mysql_write.cpp')
-rw-r--r--modules/extra/mysql/db_mysql_write.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/mysql/db_mysql_write.cpp b/modules/extra/mysql/db_mysql_write.cpp
index 2d44450c1..5d2ef2a78 100644
--- a/modules/extra/mysql/db_mysql_write.cpp
+++ b/modules/extra/mysql/db_mysql_write.cpp
@@ -66,7 +66,7 @@ static std::string MakeMLock(ChannelInfo *ci, bool status)
{
if ((*it)->Class == MC_CHANNEL)
{
- ChannelMode *cm = dynamic_cast<ChannelMode *>(*it);
+ ChannelMode *cm = debug_cast<ChannelMode *>(*it);
if (ci->HasMLock(cm->Name, status))
ret += " " + cm->NameAsString;
@@ -97,7 +97,7 @@ static std::string GetMLockParams(ChannelInfo *ci)
{
if ((*it)->Class == MC_CHANNEL)
{
- ChannelMode *cm = dynamic_cast<ChannelMode *>(*it);
+ ChannelMode *cm = debug_cast<ChannelMode *>(*it);
std::string param;
if (ci->GetParam(cm->Name, param))