mirror of
https://github.com/anope/anope.git
synced 2026-07-01 07:56:39 +02:00
Fix account identifiers conflicting with SQL row identifiers.
This commit is contained in:
+2
-2
@@ -74,7 +74,7 @@ NickCore::~NickCore()
|
||||
void NickCore::Serialize(Serialize::Data &data) const
|
||||
{
|
||||
data["display"] << this->display;
|
||||
data["id"] << this->id;
|
||||
data["uniqueid"] << this->id;
|
||||
data["pass"] << this->pass;
|
||||
data["email"] << this->email;
|
||||
data["language"] << this->language;
|
||||
@@ -94,7 +94,7 @@ Serializable* NickCore::Unserialize(Serializable *obj, Serialize::Data &data)
|
||||
data["display"] >> sdisplay;
|
||||
|
||||
uint64_t sid = 0;
|
||||
data["id"] >> sid;
|
||||
data["uniqueid"] >> sid;
|
||||
|
||||
if (obj)
|
||||
nc = anope_dynamic_static_cast<NickCore *>(obj);
|
||||
|
||||
Reference in New Issue
Block a user