1
0
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:
Adam
2016-12-11 09:24:52 -05:00
parent 65db59b3ec
commit e5125c2c84
+1 -1
View File
@@ -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)