diff options
| author | 2023-05-30 20:37:27 +0100 | |
|---|---|---|
| committer | 2023-05-30 20:37:48 +0100 | |
| commit | c4858e2a110b016f19bfb6f658620ed6deb28eee (patch) | |
| tree | 17e633dc86ded8b70698f647f45e6a7092701a02 /src/xline.cpp | |
| parent | Merge 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.cpp | 2 |
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); |
