Project

General

Profile

Actions

Feature #1529

closed

Implement subject change checking

Added by 0xd34df00d almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugins: Azoth Acetamide
Target version:
Start date:
02/04/2014
Due date:
% Done:

100%

Estimated time:
2:00 h

Description

Properly implement the ChannelCLEntry::CanChangeSubject() functions to return whether the room subject can be changed by our user.

Actions #1

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;
}
Actions #2

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

Also available in: Atom PDF