1
0
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:
Adam
2011-11-17 12:46:18 -05:00
parent 5281282a61
commit 69dfc729e9
31 changed files with 196 additions and 124 deletions
+6 -1
View File
@@ -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;