mirror of
https://github.com/anope/anope.git
synced 2026-06-25 14:06:37 +02:00
Fix unnecessary uses of std::string.
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user