From 9eea1444fa3f36dedf749ae87fb1c4be539eadb3 Mon Sep 17 00:00:00 2001 From: sjaz Date: Sat, 20 Jun 2009 22:26:30 +0000 Subject: [PATCH] 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 --- src/core/ns_register.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ns_register.c b/src/core/ns_register.c index a9788853c..a75520cdb 100644 --- a/src/core/ns_register.c +++ b/src/core/ns_register.c @@ -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 */