mirror of
https://github.com/anope/anope.git
synced 2026-06-28 13:16:38 +02:00
Allow modules to store data in their own databases.
This commit is contained in:
+1
-6
@@ -19,7 +19,7 @@ serialize_checker<nickcore_map> NickCoreList("NickCore");
|
||||
/** Default constructor
|
||||
* @param display The display nick
|
||||
*/
|
||||
NickCore::NickCore(const Anope::string &coredisplay) : Flags<NickCoreFlag, NI_END>(NickCoreFlagStrings)
|
||||
NickCore::NickCore(const Anope::string &coredisplay) : Flags<NickCoreFlag, NI_END>(NickCoreFlagStrings), Serializable("NickCore")
|
||||
{
|
||||
if (coredisplay.empty())
|
||||
throw CoreException("Empty display passed to NickCore constructor");
|
||||
@@ -60,11 +60,6 @@ NickCore::~NickCore()
|
||||
}
|
||||
}
|
||||
|
||||
const Anope::string NickCore::serialize_name() const
|
||||
{
|
||||
return "NickCore";
|
||||
}
|
||||
|
||||
Serialize::Data NickCore::serialize() const
|
||||
{
|
||||
Serialize::Data data;
|
||||
|
||||
Reference in New Issue
Block a user