aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_dccallow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r--src/modules/m_dccallow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp
index fa3390e6f..bc5f9763a 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -442,7 +442,7 @@ class ModuleDCCAllow : public Module
if (s == std::string::npos)
return MOD_RES_PASSTHRU;
- const std::string_view type = std::string(ctcpbody).substr(0, s);
+ const std::string type = std::string(ctcpbody).substr(0, s);
if (irc::equals(type, "SEND"))
{