Ban/Unban command fix
Bug detected by vcoc. Solution requires update at SQL tables "macbans" and "ipbans".
This commit is contained in:
@@ -12990,6 +12990,7 @@ CREATE TABLE IF NOT EXISTS `inventoryitems` (
|
||||
CREATE TABLE IF NOT EXISTS `ipbans` (
|
||||
`ipbanid` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`ip` varchar(40) NOT NULL DEFAULT '',
|
||||
`aid` varchar(40) DEFAULT NULL,
|
||||
PRIMARY KEY (`ipbanid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
|
||||
|
||||
@@ -13015,6 +13016,7 @@ CREATE TABLE IF NOT EXISTS `keymap` (
|
||||
CREATE TABLE IF NOT EXISTS `macbans` (
|
||||
`macbanid` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`mac` varchar(30) NOT NULL,
|
||||
`aid` varchar(40) DEFAULT NULL,
|
||||
PRIMARY KEY (`macbanid`),
|
||||
UNIQUE KEY `mac_2` (`mac`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
|
||||
|
||||
Reference in New Issue
Block a user