Project

General

Profile

Feature #1529

Implement subject change checking

Added by 0xd34df00d over 8 years ago. Updated over 8 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.

#1

Updated by Magog over 8 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;
}
#2

Updated by 0xd34df00d over 8 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
  • Estimated time set to 2.00 h

Also available in: Atom PDF