summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-30 18:16:54 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-30 18:16:54 -0300
commit839f182a9d62b91461048ae36a0d7b5b8a0bd217 (patch)
treefbdaa9e5769c9edca6d047d99959b0323c20be55 /npc
parentfe9ed7d76e8874de183847a9a4dcfac3071ea31f (diff)
downloadserverdata-839f182a9d62b91461048ae36a0d7b5b8a0bd217.tar.gz
serverdata-839f182a9d62b91461048ae36a0d7b5b8a0bd217.tar.bz2
serverdata-839f182a9d62b91461048ae36a0d7b5b8a0bd217.tar.xz
serverdata-839f182a9d62b91461048ae36a0d7b5b8a0bd217.zip
Bugs
Diffstat (limited to 'npc')
-rw-r--r--npc/commands/super-menu.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt
index ed39e6048..cc5a8a820 100644
--- a/npc/commands/super-menu.txt
+++ b/npc/commands/super-menu.txt
@@ -17,7 +17,7 @@ function script SuperMenu {
l("Scheduled broadcasts"),
rif(is_admin(), l("MOTD")),
rif(is_gm(), l("Event management")),
- rif(is_admin(), l("Join Monster King Clan")),
+ rif(is_admin(), l("Join Monster King Guild")),
l("Debug");
switch (@menu)
@@ -26,7 +26,7 @@ function script SuperMenu {
case 2: MOTDConfig 1; break;
case 3: GlobalEventMenu 1; break;
case 4:
- .@nb = query_sql("UPDATE `char`.`guild_id`=1000 where `char`.`char_id`=="+getcharid());
+ query_sql("UPDATE `char`.`guild_id`=1000 where `char`.`char_id`=="+getcharid(0));
break;
case 5: GlobalDebugMenu 1; break;
}