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

Calculate nc::channelcount at runtime

This commit is contained in:
Adam
2011-05-08 19:48:26 -04:00
parent 9fcbe293e2
commit 9962fae1a1
14 changed files with 57 additions and 48 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ static void ChanInfoUpdate(const SQLResult &res)
ChannelInfo *ci = cs_findchan(res.Get(0, "name"));
if (!ci)
ci = new ChannelInfo(res.Get(0, "name"));
ci->founder = findcore(res.Get(0, "founder"));
ci->SetFounder(findcore(res.Get(0, "founder")));
ci->successor = findcore(res.Get(0, "successor"));
ci->desc = res.Get(0, "descr");
ci->time_registered = convertTo<time_t>(res.Get(0, "time_registered"));