summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regchannel.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 5c00e291a..37fca0528 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -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