aboutsummaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-05-30 20:37:27 +0100
committerGravatar Sadie Powell2023-05-30 20:37:48 +0100
commitc4858e2a110b016f19bfb6f658620ed6deb28eee (patch)
tree17e633dc86ded8b70698f647f45e6a7092701a02 /src/xline.cpp
parentMerge branch 'insp3' into master. (diff)
Convert DelLine from const char* to const std::string&.
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 8b96e4909..46cdca560 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -334,7 +334,7 @@ bool XLineManager::AddLine(XLine* line, User* user)
// deletes a line, returns true if the line existed and was removed
-bool XLineManager::DelLine(const char* hostmask, const std::string& type, std::string& reason, User* user, bool simulate)
+bool XLineManager::DelLine(const std::string& hostmask, const std::string& type, std::string& reason, User* user, bool simulate)
{
ContainerIter x = lookup_lines.find(type);