Skip to content

Commit

Permalink
Improve the help text for ChanServ SET SUCCESSOR.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robby- committed Feb 14, 2019
1 parent 961a9bc commit e567cfd
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions modules/commands/cs_set.cpp
Expand Up @@ -1017,12 +1017,18 @@ class CommandCSSetSuccessor : public Command
source.Reply(_("Changes the successor of a channel. If the founder's\n"
"nickname expires or is dropped while the channel is still\n"
"registered, the successor will become the new founder of the\n"
"channel. The new nickname must be a registered one."));
"channel. The successor's nickname must be a registered one.\n"
"If there's no successor set, then the first nickname on the\n"
"access list (with the highest access, if applicable) will\n"
"become the new founder, but if the access list is empty, the\n"
"channel will be dropped."));
unsigned max_reg = Config->GetModule("chanserv")->Get<unsigned>("maxregistered");
if (max_reg)
source.Reply(_("However, if the successor already has too many\n"
"channels registered (%d), the channel will be dropped\n"
"instead, just as if no successor had been set."), max_reg);
source.Reply(" ");
source.Reply(_("Note, however, if the successor already has too many\n"
"channels registered (%d), they will not be able to\n"
"become the new founder and it will be as if the\n"
"channel had no successor set."), max_reg);
return true;
}
};
Expand Down

0 comments on commit e567cfd

Please sign in to comment.