diff options
| author | 2023-05-30 20:37:27 +0100 | |
|---|---|---|
| committer | 2023-05-30 20:37:48 +0100 | |
| commit | c4858e2a110b016f19bfb6f658620ed6deb28eee (patch) | |
| tree | 17e633dc86ded8b70698f647f45e6a7092701a02 /src/modules/m_cban.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Convert DelLine from const char* to const std::string&.
Diffstat (limited to 'src/modules/m_cban.cpp')
| -rw-r--r-- | src/modules/m_cban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 7a52bae90..cd5cec9dd 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -112,7 +112,7 @@ public: { std::string reason; - if (ServerInstance->XLines->DelLine(parameters[0].c_str(), "CBAN", reason, user)) + if (ServerInstance->XLines->DelLine(parameters[0], "CBAN", reason, user)) { ServerInstance->SNO.WriteToSnoMask('x', "{} removed CBan on {}: {}", user->nick, parameters[0], reason); } |
