diff options
author | Adam <Adam@anope.org> | 2016-12-11 09:24:52 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-12-11 09:24:52 -0500 |
commit | e5125c2c84a80a4b23a285bda34eeb4489e6aa6d (patch) | |
tree | 7d09be91a6a2da037bfe2dffccfee60d13e148ed /modules/commands/ns_register.cpp | |
parent | 65db59b3ecc65d137167284734c9b6a7671a53da (diff) |
Allow nonconfirmed opers to confirm accounts
Diffstat (limited to 'modules/commands/ns_register.cpp')
-rw-r--r-- | modules/commands/ns_register.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_register.cpp b/modules/commands/ns_register.cpp index ce5dbc997..1595d51a8 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -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) |