summaryrefslogtreecommitdiff
path: root/npc/commands/ucp.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/ucp.txt')
-rw-r--r--npc/commands/ucp.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index f2dfd166f..6386a850b 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -59,7 +59,7 @@ function script UserCtrlPanel {
"accid", getcharid(3),
"pin", rand2(10000));
debugmes .@msg$;
- api_send(302, .@msg$);
+ api_send(API_PINCODE, .@msg$);
#FIRST_TIME=2;
mesc l("PinCode created, an email should arrive within 15 minutes."), 3;
next;