mirror of
https://github.com/anope/anope.git
synced 2026-07-01 09:46:40 +02:00
Serialize using mutable objects not immutable ones.
This commit is contained in:
+1
-1
@@ -166,7 +166,7 @@ ChanAccess::Type::Type()
|
||||
{
|
||||
}
|
||||
|
||||
void ChanAccess::Type::Serialize(const Serializable *obj, Serialize::Data &data) const
|
||||
void ChanAccess::Type::Serialize(Serializable *obj, Serialize::Data &data) const
|
||||
{
|
||||
const auto *access = static_cast<const ChanAccess *>(obj);
|
||||
data.Store("provider", access->provider->name);
|
||||
|
||||
Reference in New Issue
Block a user