aboutsummaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
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.