From e0438e3a7ee3b7737f5138e7f43157b07479c824 Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Wed, 24 Oct 2012 05:12:13 +0200 Subject: fixed calculating the correct channelcount for an user when loading the db. fixes bug #1450 --- src/regchannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/regchannel.cpp b/src/regchannel.cpp index c507a4277..e7bea1c83 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -422,7 +422,7 @@ Serializable* ChannelInfo::unserialize(Serializable *obj, Serialize::Data &data) --ci->founder->channelcount; ci->founder = findcore(data["founder"].astr()); if (ci->founder) - --ci->founder->channelcount; + ++ci->founder->channelcount; } if (data.count("successor") > 0) { -- cgit