aboutsummaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-08-31 15:41:35 +0100
committerGravatar Sadie Powell2024-08-31 15:41:35 +0100
commit0e603bab1d953c947f7c5c39e9d441eaeaaebcfe (patch)
tree1ec2207dc25f994c3d865011b33f68ec3223e145 /src/helperfuncs.cpp
parentFix the case of the override module settings. (diff)
Minor performance improvement to ProcessColors.
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 34ef2cee3..8ee71a4df 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -230,7 +230,7 @@ void InspIRCd::ProcessColors(std::string& line)
size_t bgend = std::string::npos;
if (line[fgend] == ',')
{
- bgend = line.find_first_of("}", fgend + 1);
+ bgend = line.find_first_of('}', fgend + 1);
if (bgend == std::string::npos)
{
// Malformed color value, strip.