aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_anticaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_anticaps.cpp')
-rw-r--r--src/modules/m_anticaps.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_anticaps.cpp b/src/modules/m_anticaps.cpp
index 078784482..57c144d37 100644
--- a/src/modules/m_anticaps.cpp
+++ b/src/modules/m_anticaps.cpp
@@ -218,8 +218,8 @@ class ModuleAntiCaps : public Module
// If the message is a CTCP then we skip it unless it is
// an ACTION in which case we just check against the body.
- std::string ctcpname;
- std::string msgbody(details.text);
+ std::string_view ctcpname;
+ std::string_view msgbody(details.text);
if (details.IsCTCP(ctcpname, msgbody))
{
// If the CTCP is not an action then skip it.