mirror of
https://github.com/anope/anope.git
synced 2026-06-29 23:56:39 +02:00
Fixed calculating bots channel count of assigned channels and fixed the order of saving memos (among other things)
This commit is contained in:
+6
-4
@@ -74,14 +74,16 @@ Serializable::Serializable()
|
||||
{
|
||||
if (serizliable_items == NULL)
|
||||
serizliable_items = new std::list<Serializable *>();
|
||||
serizliable_items->push_front(this);
|
||||
this->s_iter = serizliable_items->begin();
|
||||
serizliable_items->push_back(this);
|
||||
this->s_iter = serizliable_items->end();
|
||||
--this->s_iter;
|
||||
}
|
||||
|
||||
Serializable::Serializable(const Serializable &)
|
||||
{
|
||||
serizliable_items->push_front(this);
|
||||
this->s_iter = serizliable_items->begin();
|
||||
serizliable_items->push_back(this);
|
||||
this->s_iter = serizliable_items->end();
|
||||
--this->s_iter;
|
||||
}
|
||||
|
||||
Serializable::~Serializable()
|
||||
|
||||
Reference in New Issue
Block a user