From c4858e2a110b016f19bfb6f658620ed6deb28eee Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 30 May 2023 20:37:27 +0100 Subject: Convert DelLine from const char* to const std::string&. --- src/xline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xline.cpp') 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); -- cgit v1.3.1-10-gc9f91