1
0
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:
sjaz
2009-06-20 22:26:30 +00:00
parent 1ee6c20e1e
commit 9eea1444fa
+1 -1
View File
@@ -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 */