diff options
author | Adam <Adam@anope.org> | 2011-05-08 19:48:26 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-16 04:10:18 -0400 |
commit | 9962fae1a176d62813d8c83ca77104a2efc60e92 (patch) | |
tree | 6174b6e37e963a7d4fc479d51411b416aac8dc8d /modules/core/db_mysql_live.cpp | |
parent | 9fcbe293e2820a92921762d892767e2b1802c9c0 (diff) |
Calculate nc::channelcount at runtime
Diffstat (limited to 'modules/core/db_mysql_live.cpp')
-rw-r--r-- | modules/core/db_mysql_live.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/db_mysql_live.cpp b/modules/core/db_mysql_live.cpp index 4c7bd4f0b..1073f1b99 100644 --- a/modules/core/db_mysql_live.cpp +++ b/modules/core/db_mysql_live.cpp @@ -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")); |