From b9bf72c4572875b8d67c9423f16bf72741d5e146 Mon Sep 17 00:00:00 2001 From: adam- Date: Wed, 12 Aug 2009 23:52:25 +0000 Subject: Set the correct opertypes on newly registered users git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2450 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/ns_register.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core') diff --git a/src/core/ns_register.c b/src/core/ns_register.c index 9ed66529b..958e4d94b 100644 --- a/src/core/ns_register.c +++ b/src/core/ns_register.c @@ -64,6 +64,8 @@ class CommandNSConfirm : public Command if (nr->email) na->nc->email = sstrdup(nr->email); + SetOperType(na->nc); + if (!force) { u->nc = na->nc; -- cgit