mirror of
https://github.com/anope/anope.git
synced 2026-07-05 13:43:13 +02:00
Fixed storing mode locks
This commit is contained in:
@@ -19,10 +19,15 @@ struct NSMiscData : Anope::string, ExtensibleItem, Serializable
|
||||
Anope::string name;
|
||||
Anope::string data;
|
||||
|
||||
NSMiscData(NickCore *ncore, const Anope::string &n, const Anope::string &d) : Serializable("NSMiscdata"), nc(ncore), name(n), data(d)
|
||||
NSMiscData(NickCore *ncore, const Anope::string &n, const Anope::string &d) : nc(ncore), name(n), data(d)
|
||||
{
|
||||
}
|
||||
|
||||
Anope::string serialize_name() const
|
||||
{
|
||||
return "NSMiscData";
|
||||
}
|
||||
|
||||
serialized_data serialize()
|
||||
{
|
||||
serialized_data sdata;
|
||||
|
||||
Reference in New Issue
Block a user