mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 12:09:03 -04:00
Strip message tags correctly in the 1202 spanningtree compat layer.
This commit is contained in:
parent
1645bbc231
commit
9b732cb49d
@ -42,7 +42,7 @@ void TreeSocket::WriteLine(const std::string& original_line)
|
||||
if (line[0] == '@')
|
||||
{
|
||||
// The line contains tags which the 1202 protocol can't handle.
|
||||
line.erase(0, a);
|
||||
line.erase(0, a + 1);
|
||||
a = line.find(' ');
|
||||
}
|
||||
std::string::size_type b = line.find(' ', a + 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user