diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-18 12:42:41 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-18 12:47:43 +0000 |
commit | 413fed474e7fbdc10128482284700f0fad41e31a (patch) | |
tree | 94b7d1ab522911c4c635f3b9cdd8a274fc6aee0c /src/process.cpp | |
parent | 60083834f802456382ffc63f0c908db3e2676feb (diff) |
Fix unnecessary uses of std::string.
Diffstat (limited to 'src/process.cpp')
-rw-r--r-- | src/process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.cpp b/src/process.cpp index bb31358c8..2c161de23 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -202,7 +202,7 @@ bool IRCDProto::Format(Anope::string &message, const Anope::map<Anope::string> & const auto &last = params.back(); - if (last.empty() || last[0] == ':' || last.find(' ') != std::string::npos) + if (last.empty() || last[0] == ':' || last.find(' ') != Anope::string::npos) buffer << ':'; buffer << last; } |