diff options
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r-- | src/regchannel.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 25526ee8b..42feddc7b 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -246,9 +246,6 @@ ChannelInfo::ChannelInfo(ChannelInfo &ci) : Flags<ChannelInfoFlag, CI_END>(Chann this->akick.clear(); this->badwords.clear(); - if (this->bi) - ++this->bi->chancount; - for (int i = 0; i < TTB_SIZE; ++i) this->ttb[i] = ci.ttb[i]; @@ -397,13 +394,7 @@ void ChannelInfo::unserialize(serialized_data &data) ci->levels[v[i]] = convertTo<int16_t>(v[i + 1]); } if (data.count("bi") > 0) - { - if (ci->bi) - ci->bi->chancount--; ci->bi = findbot(data["bi"].astr()); - if (ci->bi) - ci->bi->chancount++; - } data["capsmin"] >> ci->capsmin; data["capspercent"] >> ci->capspercent; data["floodlines"] >> ci->floodlines; |