diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-05-30 18:20:06 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-05-30 18:20:06 -0300 |
commit | a9e4ff5d16c4fd9d43c971ccc5e077b51d2493bb (patch) | |
tree | 1890b9f0857369eaed8c1b5045039238ee80ebec /npc/commands/super-menu.txt | |
parent | 839f182a9d62b91461048ae36a0d7b5b8a0bd217 (diff) | |
download | serverdata-a9e4ff5d16c4fd9d43c971ccc5e077b51d2493bb.tar.gz serverdata-a9e4ff5d16c4fd9d43c971ccc5e077b51d2493bb.tar.bz2 serverdata-a9e4ff5d16c4fd9d43c971ccc5e077b51d2493bb.tar.xz serverdata-a9e4ff5d16c4fd9d43c971ccc5e077b51d2493bb.zip |
I should use SQL more often...
Diffstat (limited to 'npc/commands/super-menu.txt')
-rw-r--r-- | npc/commands/super-menu.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt index cc5a8a820..0e07fb8f9 100644 --- a/npc/commands/super-menu.txt +++ b/npc/commands/super-menu.txt @@ -26,7 +26,7 @@ function script SuperMenu { case 2: MOTDConfig 1; break; case 3: GlobalEventMenu 1; break; case 4: - query_sql("UPDATE `char`.`guild_id`=1000 where `char`.`char_id`=="+getcharid(0)); + query_sql("UPDATE `char` SET `guild_id`=1000 WHERE `char_id`=="+getcharid(0)); break; case 5: GlobalDebugMenu 1; break; } |