mirror of
https://github.com/anope/anope.git
synced 2026-06-28 06:36:38 +02:00
Add defines for the core serialisation type names.
This commit is contained in:
+5
-3
@@ -17,7 +17,8 @@
|
||||
#include "account.h"
|
||||
#include "regchannel.h"
|
||||
|
||||
Memo::Memo() : Serializable("Memo")
|
||||
Memo::Memo()
|
||||
: Serializable(MEMO_TYPE)
|
||||
{
|
||||
mi = NULL;
|
||||
unread = receipt = false;
|
||||
@@ -35,7 +36,7 @@ Memo::~Memo()
|
||||
}
|
||||
|
||||
Memo::Type::Type()
|
||||
: Serialize::Type("Memo")
|
||||
: Serialize::Type(MEMO_TYPE)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -82,7 +83,8 @@ Serializable *Memo::Type::Unserialize(Serializable *obj, Serialize::Data &data)
|
||||
return m;
|
||||
}
|
||||
|
||||
MemoInfo::MemoInfo() : memos("Memo")
|
||||
MemoInfo::MemoInfo()
|
||||
: memos(MEMO_TYPE)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user