Skip to content

Commit

Permalink
[10537] Fixe typo in command help text.
Browse files Browse the repository at this point in the history
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
Stillhard authored and VladimirMangos committed Sep 26, 2010
1 parent 468bf08 commit 8ecdf57
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sql/mangos.sql
Expand Up @@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
`version` varchar(120) default NULL,
`creature_ai_version` varchar(120) default NULL,
`cache_id` int(10) default '0',
`required_10503_04_mangos_gameobject_respawn` bit(1) default NULL
`required_10537_01_mangos_command` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';

--
Expand Down Expand Up @@ -488,7 +488,7 @@ LOCK TABLES `command` WRITE;
/*!40000 ALTER TABLE `command` DISABLE KEYS */;
INSERT INTO `command` VALUES
('account',0,'Syntax: .account\r\n\r\nDisplay the access level of your account.'),
('account characters',3,'Syntax: .account characters [#accountId|$accountName]\r\n\r\nShow list all characters for account seelcted by provided #accountId or $accountName, or for selected player in game.'),
('account characters',3,'Syntax: .account characters [#accountId|$accountName]\r\n\r\nShow list all characters for account selected by provided #accountId or $accountName, or for selected player in game.'),
('account create',4,'Syntax: .account create $account $password\r\n\r\nCreate account and set password to it.'),
('account delete',4,'Syntax: .account delete $account\r\n\r\nDelete account with all characters.'),
('account lock',0,'Syntax: .account lock [on|off]\r\n\r\nAllow login from account only from current used IP or remove this requirement.'),
Expand Down
7 changes: 7 additions & 0 deletions sql/updates/10537_01_mangos_command.sql
@@ -0,0 +1,7 @@
ALTER TABLE db_version CHANGE COLUMN required_10503_04_mangos_gameobject_respawn required_10537_01_mangos_command bit;

DELETE FROM command WHERE name IN ('account characters');

INSERT INTO command (name, security, help) VALUES
('account characters',3,'Syntax: .account characters [#accountId|$accountName]\r\n\r\nShow list all characters for account selected by provided #accountId or $accountName, or for selected player in game.');

2 changes: 2 additions & 0 deletions sql/updates/Makefile.am
Expand Up @@ -101,6 +101,7 @@ pkgdata_DATA = \
10503_02_characters_gameobject_respawn.sql \
10503_03_mangos_creature_respawn.sql \
10503_04_mangos_gameobject_respawn.sql \
10537_01_mangos_command.sql \
README

## Additional files to include when running 'make dist'
Expand Down Expand Up @@ -182,4 +183,5 @@ EXTRA_DIST = \
10503_02_characters_gameobject_respawn.sql \
10503_03_mangos_creature_respawn.sql \
10503_04_mangos_gameobject_respawn.sql \
10537_01_mangos_command.sql \
README
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10536"
#define REVISION_NR "10537"
#endif // __REVISION_NR_H__
2 changes: 1 addition & 1 deletion src/shared/revision_sql.h
@@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__
#define REVISION_DB_CHARACTERS "required_10503_02_characters_gameobject_respawn"
#define REVISION_DB_MANGOS "required_10503_04_mangos_gameobject_respawn"
#define REVISION_DB_MANGOS "required_10537_01_mangos_command"
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version"
#endif // __REVISION_SQL_H__

0 comments on commit 8ecdf57

Please sign in to comment.