mirror of
https://github.com/anope/anope.git
synced 2026-06-26 05:56:39 +02:00
Allow modules to store data in their own databases.
This commit is contained in:
+1
-6
@@ -29,7 +29,7 @@ static nickservheld_map NickServHelds;
|
||||
* @param nick The nick
|
||||
* @param nickcore The nickcore for this nick
|
||||
*/
|
||||
NickAlias::NickAlias(const Anope::string &nickname, NickCore* nickcore) : Flags<NickNameFlag, NS_END>(NickNameFlagStrings)
|
||||
NickAlias::NickAlias(const Anope::string &nickname, NickCore* nickcore) : Flags<NickNameFlag, NS_END>(NickNameFlagStrings), Serializable("NickAlias")
|
||||
{
|
||||
if (nickname.empty())
|
||||
throw CoreException("Empty nick passed to NickAlias constructor");
|
||||
@@ -240,11 +240,6 @@ time_t NickAlias::GetVhostCreated() const
|
||||
return this->vhost_created;
|
||||
}
|
||||
|
||||
const Anope::string NickAlias::serialize_name() const
|
||||
{
|
||||
return "NickAlias";
|
||||
}
|
||||
|
||||
Serialize::Data NickAlias::serialize() const
|
||||
{
|
||||
Serialize::Data data;
|
||||
|
||||
Reference in New Issue
Block a user