summaryrefslogtreecommitdiff
path: root/npc/commands/super-menu.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/super-menu.txt')
-rw-r--r--npc/commands/super-menu.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt
index 52ac7e0a8..ba4d64efd 100644
--- a/npc/commands/super-menu.txt
+++ b/npc/commands/super-menu.txt
@@ -17,7 +17,8 @@ function script SuperMenu {
l("Scheduled broadcasts"),
rif(is_admin(), l("MOTD")),
rif(is_gm(), l("Event management")),
- rif(is_admin(), l("Join teh Guild")),
+ rif(is_admin() && !getcharid(2), l("Join teh Guild")),
+ rif(is_admin(), l("Referral Program Report")),
l("Debug");
switch (@menu)
@@ -28,6 +29,7 @@ function script SuperMenu {
case 4:
query_sql("UPDATE `char` SET `guild_id`=1 WHERE `char_id`="+getcharid(0));
break;
+ case 6: HallOfReferral; break;
case 5: GlobalDebugMenu 1; break;
}
} while (1);