From c49dc4bf632d7600e1ff2cf4a489e7f8dac59fc3 Mon Sep 17 00:00:00 2001
From: mekolat <mekolat@users.noreply.github.com>
Date: Fri, 24 Apr 2015 14:54:19 -0400
Subject: add OnPCLoginEvent

---
 src/map/pc.cpp | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src')

diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 751b6e1..e1ecd37 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -794,6 +794,8 @@ int pc_authok(AccountId id, int login_id2,
     sd->packet_flood_in = 0;
 
     pc_calcstatus(sd, 1);
+
+    npc_event_doall_l(stringish<ScriptLabel>("OnPCLoginEvent"_s), sd->bl_id, nullptr);
     // Init Quest Log
     clif_sendallquest(sd);
     return 0;
-- 
cgit v1.2.3-70-g09d2