summaryrefslogtreecommitdiff
path: root/src/bots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bots.cpp')
-rw-r--r--src/bots.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bots.cpp b/src/bots.cpp
index fa9042733..b01b7389f 100644
--- a/src/bots.cpp
+++ b/src/bots.cpp
@@ -18,12 +18,12 @@
#include "language.h"
#include "serialize.h"
-Serialize::Checker<botinfo_map> BotListByNick("BotInfo"), BotListByUID("BotInfo");
+Serialize::Checker<botinfo_map> BotListByNick(BOTINFO_TYPE), BotListByUID(BOTINFO_TYPE);
BotInfo::BotInfo(const Anope::string &nnick, const Anope::string &nuser, const Anope::string &nhost, const Anope::string &nreal, const Anope::string &bmodes)
: User(nnick, nuser, nhost, "", "", Me, nreal, Anope::CurTime, "", {}, IRCD ? IRCD->UID_Retrieve() : "", NULL)
- , Serializable("BotInfo")
- , channels("ChannelInfo")
+ , Serializable(BOTINFO_TYPE)
+ , channels(CHANNELINFO_TYPE)
, botmodes(bmodes)
{
this->lastmsg = this->created = Anope::CurTime;
@@ -85,7 +85,7 @@ BotInfo::~BotInfo()
}
BotInfo::Type::Type()
- : Serialize::Type("BotInfo")
+ : Serialize::Type(BOTINFO_TYPE)
{
}