summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorshennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-14 21:59:56 +0000
committershennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-14 21:59:56 +0000
commit63601a1a0618861f8b987797a04e7e7c8e20bc7a (patch)
tree45c3a13cfecc86735a6b2ce4c4639b6a88423fdb /src/map/pc.h
parentae1d31bec93b2f894f70604d8ae4d4b6961ce0f6 (diff)
downloadhercules-63601a1a0618861f8b987797a04e7e7c8e20bc7a.tar.gz
hercules-63601a1a0618861f8b987797a04e7e7c8e20bc7a.tar.bz2
hercules-63601a1a0618861f8b987797a04e7e7c8e20bc7a.tar.xz
hercules-63601a1a0618861f8b987797a04e7e7c8e20bc7a.zip
Fixed friend adding exploit, bugreport:4629
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15118 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index af749534d..b6ba70c76 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -451,6 +451,11 @@ struct map_session_data {
unsigned int npc_idle_tick;
#endif
+ /**
+ * Guarantees your friend request is legit (for bugreport:6429)
+ **/
+ int friend_req;
+
// temporary debugging of bug #3504
const char* delunit_prevfile;
int delunit_prevline;