mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Channel system update:
* Fix bug that player does not have moderator priveliges when ownership was passed on to him after previous owner left the channel. * Comment out code + alter DB field that are responsible for storing ownerGUID in the database, making it no longer possible for an ex-owner to instantly regain ownership by rejoining the channel as this is not blizzlike. The code is commented out in case someone wants to make a configurable option out of it. * Cleanup some other code in affected files. --HG-- branch : trunk
This commit is contained in:
@@ -274,7 +274,6 @@ DROP TABLE IF EXISTS `channels`;
|
||||
CREATE TABLE `channels` (
|
||||
`m_name` text NOT NULL,
|
||||
`m_team` int(10) unsigned NOT NULL,
|
||||
`m_ownerGUID` int(11) unsigned NOT NULL default '0',
|
||||
`m_announce` tinyint(1) unsigned NOT NULL default '0',
|
||||
`m_moderate` tinyint(1) unsigned NOT NULL default '0',
|
||||
`m_password` text,
|
||||
|
||||
Reference in New Issue
Block a user