mirror of
https://github.com/anope/anope.git
synced 2026-06-28 12:36:39 +02:00
Fixes issue with /NS CONFIRM with non-registered nicks. (Thanks Adam)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2330 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -124,7 +124,7 @@ class CommandNSConfirm : public Command
|
||||
|
||||
if (!nr)
|
||||
{
|
||||
if (u->nc->IsServicesOper())
|
||||
if (u->nc && u->nc->IsServicesOper())
|
||||
{
|
||||
/* If an admin, their nick is obviously already regged, so look at the passcode to get the nick
|
||||
of the user they are trying to validate, and push that user through regardless of passcode */
|
||||
|
||||
Reference in New Issue
Block a user