mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Fix stripping adjacent formatting codes.
This commit is contained in:
parent
900bfeb6b7
commit
af95088ae3
@ -117,6 +117,7 @@ void InspIRCd::StripColor(std::string& line)
|
||||
break;
|
||||
}
|
||||
line.erase(start, idx - start);
|
||||
idx = start;
|
||||
break;
|
||||
}
|
||||
case '\x04': // Hex Color
|
||||
@ -129,6 +130,7 @@ void InspIRCd::StripColor(std::string& line)
|
||||
break;
|
||||
}
|
||||
line.erase(start, idx - start);
|
||||
idx = start;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user