diff options
| author | DukePyrolator <DukePyrolator@anope.org> | 2012-10-24 05:12:13 +0200 |
|---|---|---|
| committer | DukePyrolator <DukePyrolator@anope.org> | 2012-10-24 05:12:13 +0200 |
| commit | e0438e3a7ee3b7737f5138e7f43157b07479c824 (patch) | |
| tree | 3e99ac02ad48770ab084df0e404963b21a30d806 /src | |
| parent | 0b9db15efc322336ddb08671ce68a3d45fb22520 (diff) | |
fixed calculating the correct channelcount for an user when loading the db. fixes bug #1450
Diffstat (limited to 'src')
| -rw-r--r-- | src/regchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
