mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 12:47:07 +00:00
feat(Scripts/Commands): account set email (#19481)
* added worldserver command to set email address * reverted sql, added Tail args * removed pointer * Added helper text via updatescript * fix build * fix build * fixed db update * Update data/sql/updates/db_world/2024_07_26_01.sql Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * Update data/sql/updates/db_world/2024_07_26_01.sql Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * fixed hander * refactor with named params * refactor with named params --------- Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
9
data/sql/updates/db_world/2024_07_26_01.sql
Normal file
9
data/sql/updates/db_world/2024_07_26_01.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
-- DB update 22024_07_26_00 -> 2024_07_26_01
|
||||
DELETE FROM `command` WHERE `name`='account set email';
|
||||
|
||||
INSERT INTO `command` (`name`, `security`, `help`) VALUES
|
||||
('account set email', 4, 'Syntax: .account set email $account $email $email_confirmation\nAdd or change an email to the account.');
|
||||
|
||||
DELETE FROM `acore_string` WHERE `entry` IN (875);
|
||||
INSERT INTO `acore_string` (`entry`, `content_default`,`locale_zhCN`) VALUES
|
||||
(875, 'Your email can\'t be longer than 255 characters, email not changed!', '您的电子邮件无法超过255个字符,电子邮件没有改变!');
|
||||
Reference in New Issue
Block a user