1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 09:46:38 +02:00

Fix channelcount with clone

This commit is contained in:
Adam
2014-07-11 01:02:02 -04:00
parent 7a64d95f7c
commit 93cb5d06db
+1 -4
View File
@@ -132,7 +132,7 @@ ChannelInfo::ChannelInfo(const ChannelInfo &ci) : Serializable("ChannelInfo"),
*this = ci;
if (this->founder)
--this->founder->channelcount;
++this->founder->channelcount;
this->access->clear();
this->akick->clear();
@@ -200,9 +200,6 @@ ChannelInfo::~ChannelInfo()
delete this->memos.GetMemo(i);
this->memos.memos->clear();
}
if (this->founder)
--this->founder->channelcount;
}
void ChannelInfo::Serialize(Serialize::Data &data) const