mirror of
https://github.com/anope/anope.git
synced 2026-06-28 18:16:38 +02:00
Fixed storing mode locks
This commit is contained in:
+6
-1
@@ -4,7 +4,7 @@
|
||||
/** Default constructor
|
||||
* @param display The display nick
|
||||
*/
|
||||
NickCore::NickCore(const Anope::string &coredisplay) : Flags<NickCoreFlag, NI_END>(NickCoreFlagStrings), Serializable("NickCore")
|
||||
NickCore::NickCore(const Anope::string &coredisplay) : Flags<NickCoreFlag, NI_END>(NickCoreFlagStrings)
|
||||
{
|
||||
if (coredisplay.empty())
|
||||
throw CoreException("Empty display passed to NickCore constructor");
|
||||
@@ -45,6 +45,11 @@ NickCore::~NickCore()
|
||||
}
|
||||
}
|
||||
|
||||
Anope::string NickCore::serialize_name() const
|
||||
{
|
||||
return "NickCore";
|
||||
}
|
||||
|
||||
Serializable::serialized_data NickCore::serialize()
|
||||
{
|
||||
serialized_data data;
|
||||
|
||||
Reference in New Issue
Block a user