mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 10:39:02 -04:00
Fix potentially generating an invalid permchannel database.
This commit is contained in:
parent
c2c5b44983
commit
5e1310188b
@ -160,7 +160,7 @@ static bool WriteDatabase(PermChannel& permchanmode, bool save_listmodes, unsign
|
||||
{
|
||||
if (entry != list->begin())
|
||||
stream << ' ';
|
||||
stream << entry->mask << ' ' << entry->setter << ' ' << entry->time;
|
||||
stream << ServerConfig::Escape(entry->mask) << ' ' << ServerConfig::Escape(entry->setter) << ' ' << entry->time;
|
||||
}
|
||||
stream << "\"" << std::endl;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user