mirror of
https://github.com/anope/anope.git
synced 2026-06-29 08:36:38 +02:00
Removed nickrequests, instead have unconfirmed registrations. Also made ns_resetpass allow remote-id to get past things such as kill immed.
This commit is contained in:
@@ -32,12 +32,10 @@ class CommandCSRegister : public Command
|
||||
Channel *c = findchan(chan);
|
||||
|
||||
if (readonly)
|
||||
{
|
||||
source.Reply(_("Sorry, channel registration is temporarily disabled."));
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
if (chan[0] == '&')
|
||||
else if (u->Account()->HasFlag(NI_UNCONFIRMED))
|
||||
source.Reply(_("You must confirm your account before you can register a channel."));
|
||||
else if (chan[0] == '&')
|
||||
source.Reply(_("Local channels cannot be registered."));
|
||||
else if (chan[0] != '#')
|
||||
source.Reply(_(CHAN_SYMBOL_REQUIRED));
|
||||
|
||||
Reference in New Issue
Block a user