summaryrefslogtreecommitdiff
path: root/npc/guild/gldfunc_manager.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-17 04:05:51 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-17 04:05:51 +0000
commit7f407dc0f0de6509d1d654d234301eecf25a74ed (patch)
tree27f29c0d181b16de853c5697ce5d57673f9f70c9 /npc/guild/gldfunc_manager.txt
parentac2af7093cd14bee6aa59c0cef8f6823edcfec0c (diff)
downloadhercules-7f407dc0f0de6509d1d654d234301eecf25a74ed.tar.gz
hercules-7f407dc0f0de6509d1d654d234301eecf25a74ed.tar.bz2
hercules-7f407dc0f0de6509d1d654d234301eecf25a74ed.tar.xz
hercules-7f407dc0f0de6509d1d654d234301eecf25a74ed.zip
* Fixed Guild Manager access to Guild Master only.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11746 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/gldfunc_manager.txt')
-rw-r--r--npc/guild/gldfunc_manager.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/guild/gldfunc_manager.txt b/npc/guild/gldfunc_manager.txt
index 832036197..86c06443c 100644
--- a/npc/guild/gldfunc_manager.txt
+++ b/npc/guild/gldfunc_manager.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= jAthena - kalen (1.0) & eAthena Team
//===== Current Version: =====================================
-//= 1.8
+//= 1.9
//===== Compatible With: =====================================
//= eAthena SVN; RO Episode 4+
//===== Description: =========================================
@@ -37,6 +37,7 @@
//= No longer uses defined numerical values for guardian HP calculation
//= Guardian summon display list is now DYNAMIC. Updated with guardian corrections.
//= Added dialog for castle Abandoning. Commented out be default.
+//= 1.8 Fixed guild members being able to access Guild Master services. [L0ne_W0lf]
//============================================================
function script F_GldManager {
@@ -75,7 +76,7 @@ function script F_GldManager {
mes "Brave soul... fate will guide you towards your future...";
return 0;
}
- if (getcharid(2) != .@GID){
+ if (getcharid(2) != .@GID || strcharinfo(0) != getguildmaster(.@GID)){
mes "[ "+getarg(0)+" ]";
mes "No matter how much you pester me, I'll still follow my master ^ff0000" + getguildmaster(.@GID) + "^000000. Where are Guardians?! Send these ruffians away right now!";
return 0;