Actions
Feature #1529
closedImplement subject change checking
Description
Properly implement the ChannelCLEntry::CanChangeSubject()
functions to return whether the room subject can be changed by our user.
Updated by Magog almost 11 years ago
Theoretically anybody can change the topic on a channel with the /TOPIC command, but usually the channel operators make it so that only they can change the topic.
Если на канале включен режим +i, только операторы канала могут устанавливать топик.
Сделал так:
bool ChannelCLEntry::CanChangeSubject () const
{
if (!ICH_->GetChannelModes ().InviteMode_)
return true;
return false;
}
Updated by 0xd34df00d almost 11 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
- Estimated time set to 2:00 h
Actions