diff options
| author | Adam <Adam@anope.org> | 2012-01-31 15:35:51 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2012-01-31 15:35:51 -0500 |
| commit | b4f27da51c5a74822eeb74b81a9c104c96447a18 (patch) | |
| tree | 0d047f8bacb54e0ca6251b4c1d661eaf7fe6b184 | |
| parent | d09a30295b0f4cd8e0e5c69dbf035166a0c9df9b (diff) | |
Bug #1365 - Fixed nickserv/confirm syntax for services opers
| -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 745b533aa..3010c0eb4 100644 --- a/modules/commands/ns_register.cpp +++ b/modules/commands/ns_register.cpp @@ -30,7 +30,7 @@ class CommandNSConfirm : public Command User *u = source.u; const Anope::string &passcode = params[0]; - if (u->Account() && u->HasPriv("nickserv/confirm")) + if (u->Account() && !u->Account()->HasFlag(NI_UNCONFIRMED) && u->HasPriv("nickserv/confirm")) { NickAlias *na = findnick(passcode); if (na == NULL) |
