mirror of
https://github.com/anope/anope.git
synced 2026-07-04 08:23:12 +02:00
Allow nonconfirmed opers to confirm accounts
This commit is contained in:
@@ -27,7 +27,7 @@ class CommandNSConfirm : public Command
|
||||
{
|
||||
const Anope::string &passcode = params[0];
|
||||
|
||||
if (source.nc && !source.nc->HasExt("UNCONFIRMED") && source.HasPriv("nickserv/confirm"))
|
||||
if (source.nc && (!source.nc->HasExt("UNCONFIRMED") || source.IsOper()) && source.HasPriv("nickserv/confirm"))
|
||||
{
|
||||
NickAlias *na = NickAlias::Find(passcode);
|
||||
if (na == NULL)
|
||||
|
||||
Reference in New Issue
Block a user