aboutsummaryrefslogtreecommitdiff
path: root/src/channelmanager.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-11-21 13:14:19 +0000
committerGravatar Sadie Powell2022-11-21 13:14:19 +0000
commit07246800fd2e44128adfa09fe91ce10b3ef0bcfc (patch)
tree964d9fc4275dc612e5dfb083d2d1abb035fa1719 /src/channelmanager.cpp
parentFix iterator_range when the range points to a string_view. (diff)
Use string_view in IsNick/IsIdent/IsChannel.
Diffstat (limited to 'src/channelmanager.cpp')
-rw-r--r--src/channelmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channelmanager.cpp b/src/channelmanager.cpp
index 9c6137147..9562d2077 100644
--- a/src/channelmanager.cpp
+++ b/src/channelmanager.cpp
@@ -19,7 +19,7 @@
#include "inspircd.h"
-bool ChannelManager::DefaultIsChannel(const std::string& channel)
+bool ChannelManager::DefaultIsChannel(const std::string_view& channel)
{
if (channel.empty() || channel.length() > ServerInstance->Config->Limits.MaxChannel)
return false;