1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 07:53:14 +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 -2
View File
@@ -51,7 +51,7 @@ class CommandCSRegister : public Command
else
{
ci = new ChannelInfo(chan);
ci->founder = u->Account();
ci->SetFounder(u->Account());
ci->desc = chdesc;
if (c && !c->topic.empty())
@@ -64,7 +64,6 @@ class CommandCSRegister : public Command
ci->last_topic_setter = Config->s_ChanServ;
ci->bi = NULL;
++ci->founder->channelcount;
Log(LOG_COMMAND, u, this, ci);
source.Reply(_("Channel \002%s\002 registered under your nickname: %s"), chan.c_str(), u->nick.c_str());