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_spanningtree/delline.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Convert DelLine from const char* to const std::string&.
Diffstat (limited to 'src/modules/m_spanningtree/delline.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/delline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/delline.cpp b/src/modules/m_spanningtree/delline.cpp index d1ec8ac7f..7920f9a1d 100644 --- a/src/modules/m_spanningtree/delline.cpp +++ b/src/modules/m_spanningtree/delline.cpp @@ -34,7 +34,7 @@ CmdResult CommandDelLine::Handle(User* user, Params& params) std::string reason; // XLineManager::DelLine() returns true if the xline existed, false if it didn't - if (ServerInstance->XLines->DelLine(params[1].c_str(), params[0], reason, user)) + if (ServerInstance->XLines->DelLine(params[1], params[0], reason, user)) { ServerInstance->SNO.WriteToSnoMask('X', "{} removed {}{} on {}: {}", setter, params[0], params[0].length() == 1 ? "-line" : "", params[1], reason); |
