diff options
| author | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-12 23:52:25 +0000 |
|---|---|---|
| committer | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-12 23:52:25 +0000 |
| commit | b9bf72c4572875b8d67c9423f16bf72741d5e146 (patch) | |
| tree | 2697b691775d587137a8cc1504a9945cfa0f3757 /src/core | |
| parent | 577870bb45b537889f6e6a102e0dbc52ee4fa841 (diff) | |
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
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/ns_register.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
