Public Types | Public Member Functions | Static Public Member Functions | Data Fields | Private Attributes | Friends

ChannelInfo Class Reference

#include <regchannel.h>

Inherits Serializable, and Extensible.

Collaboration diagram for ChannelInfo:
Collaboration graph
[legend]

Public Types

typedef std::multimap
< Anope::string, ModeLock * > 
ModeList

Public Member Functions

 ChannelInfo (const Anope::string &chname)
 ChannelInfo (const ChannelInfo &ci)
 ~ChannelInfo ()
void Serialize (Serialize::Data &data) const anope_override
void SetFounder (NickCore *nc)
NickCoreGetFounder () const
void SetSuccessor (NickCore *nc)
NickCoreGetSuccessor () const
BotInfoWhoSends () const
void AddAccess (ChanAccess *access)
ChanAccessGetAccess (unsigned index) const
AccessGroup AccessFor (const User *u)
AccessGroup AccessFor (const NickCore *nc)
unsigned GetAccessCount () const
void EraseAccess (unsigned index)
void ClearAccess ()
AutoKickAddAkick (const Anope::string &user, NickCore *akicknc, const Anope::string &reason, time_t t=Anope::CurTime, time_t lu=0)
AutoKickAddAkick (const Anope::string &user, const Anope::string &mask, const Anope::string &reason, time_t t=Anope::CurTime, time_t lu=0)
AutoKickGetAkick (unsigned index) const
unsigned GetAkickCount () const
void EraseAkick (unsigned index)
void ClearAkick ()
BadWordAddBadWord (const Anope::string &word, BadWordType type)
BadWordGetBadWord (unsigned index) const
unsigned GetBadWordCount () const
void EraseBadWord (unsigned index)
void ClearBadWords ()
bool HasMLock (ChannelMode *mode, const Anope::string &param, bool status) const
bool SetMLock (ChannelMode *mode, bool status, const Anope::string &param="", Anope::string setter="", time_t created=Anope::CurTime)
bool RemoveMLock (ChannelMode *mode, bool status, const Anope::string &param="")
void RemoveMLock (ModeLock *mlock)
void ClearMLock ()
const ModeListGetMLock () const
std::pair< ModeList::iterator,
ModeList::iterator > 
GetModeList (const Anope::string &name)
const ModeLockGetMLock (const Anope::string &mname, const Anope::string &param="")
Anope::string GetMLockAsString (bool complete) const
bool CheckKick (User *user)
void CheckTopic ()
void RestoreTopic ()
int16_t GetLevel (const Anope::string &priv) const
void SetLevel (const Anope::string &priv, int16_t level)
void RemoveLevel (const Anope::string &priv)
void ClearLevels ()
Anope::string GetIdealBan (User *u) const

Static Public Member Functions

static SerializableUnserialize (Serializable *obj, Serialize::Data &)
static ChannelInfoFind (const Anope::string &name)

Data Fields

Serialize::Checker< ModeListmode_locks
Serialize::Checker
< std::vector< LogSetting * > > 
log_settings
Anope::string name
Anope::string desc
time_t time_registered
time_t last_used
Anope::string last_topic
Anope::string last_topic_setter
time_t last_topic_time
int16_t bantype
MemoInfo memos
Channelc
Serialize::Reference< BotInfobi
int16_t ttb [TTB_SIZE]
int16_t capsmin
int16_t capspercent
int16_t floodlines
int16_t floodsecs
int16_t repeattimes

Private Attributes

Serialize::Reference< NickCorefounder
Serialize::Reference< NickCoresuccessor
Serialize::Checker
< std::vector< ChanAccess * > > 
access
Serialize::Checker
< std::vector< AutoKick * > > 
akick
Serialize::Checker
< std::vector< BadWord * > > 
badwords
std::map< Anope::string, int16_t > levels

Friends

class ChanAccess
class AutoKick
struct BadWord

Detailed Description

Definition at line 158 of file regchannel.h.


Member Typedef Documentation

typedef std::multimap<Anope::string, ModeLock *> ChannelInfo::ModeList

Definition at line 173 of file regchannel.h.


Constructor & Destructor Documentation

ChannelInfo::ChannelInfo ( const Anope::string chname  ) 
ChannelInfo::ChannelInfo ( const ChannelInfo ci  ) 
ChannelInfo::~ChannelInfo (  ) 

Member Function Documentation

AccessGroup ChannelInfo::AccessFor ( const User u  ) 
AccessGroup ChannelInfo::AccessFor ( const NickCore nc  ) 
void ChannelInfo::AddAccess ( ChanAccess access  ) 
AutoKick * ChannelInfo::AddAkick ( const Anope::string user,
const Anope::string mask,
const Anope::string reason,
time_t  t = Anope::CurTime,
time_t  lu = 0 
)

Add an akick entry to the channel by reason

Parameters:
user The user who added the akick
mask The mask of the akick
reason The reason for the akick
t The time the akick was added, defaults to now
lu The time the akick was last used, defaults to never

Definition at line 671 of file regchannel.cpp.

References AutoKick::addtime, akick, AutoKick, AutoKick::ci, AutoKick::creator, AutoKick::last_used, AutoKick::mask, AutoKick::nc, and AutoKick::reason.

AutoKick * ChannelInfo::AddAkick ( const Anope::string user,
NickCore akicknc,
const Anope::string reason,
time_t  t = Anope::CurTime,
time_t  lu = 0 
)

Add an akick entry to the channel by NickCore

Parameters:
user The user who added the akick
akicknc The nickcore being akicked
reason The reason for the akick
t The time the akick was added, defaults to now
lu The time the akick was last used, defaults to never

Definition at line 654 of file regchannel.cpp.

References NickCore::AddChannelReference(), AutoKick::addtime, akick, AutoKick, AutoKick::ci, AutoKick::creator, AutoKick::last_used, AutoKick::nc, and AutoKick::reason.

Referenced by ChannelInfo(), CommandCSAKick::DoAdd(), CommandCSClone::Execute(), LoadChannels(), OnDatabaseReadMetadata(), and AutoKick::Unserialize().

BadWord * ChannelInfo::AddBadWord ( const Anope::string word,
BadWordType  type 
)

Add a badword to the badword list

Parameters:
word The badword
type The type (SINGLE START END)
Returns:
The badword

Definition at line 716 of file regchannel.cpp.

References BadWord, badwords, BadWord::ci, FOREACH_MOD, I_OnBadWordAdd, BadWord::type, and BadWord::word.

Referenced by ChannelInfo(), CommandBSBadwords::DoAdd(), CommandCSClone::Execute(), LoadChannels(), OnDatabaseReadMetadata(), and BadWord::Unserialize().

bool ChannelInfo::CheckKick ( User user  ) 

Check whether a user is permitted to be on this channel

Parameters:
u The user
Returns:
true if they are allowed, false if they aren't and were kicked

Definition at line 957 of file regchannel.cpp.

References User::Account(), bi, c, Anope::string::c_str(), Anope::string::empty(), EVENT_STOP, Channel::FindUser(), FOREACH_RESULT, GetIdealBan(), Extensible::HasExt(), Channel::Hold(), I_OnCheckKick, User::IsProtected(), Server::IsULined(), Channel::Kick(), LOG_DEBUG, name, User::nick, User::server, Channel::SetMode(), User::super_admin, Language::Translate(), and Channel::users.

Referenced by CommandCSAKick::DoEnforce().

void ChannelInfo::CheckTopic (  ) 

Check the channel topic If topic lock is enabled will change the topic back, else it records the new topic in the ChannelInfo

Definition at line 1010 of file regchannel.cpp.

References c, Channel::ChangeTopic(), Extensible::HasExt(), last_topic, last_topic_setter, last_topic_time, Channel::topic, Channel::topic_setter, and Channel::topic_ts.

void ChannelInfo::ClearAccess (  ) 

Clear the entire channel access list

Clears the entire access list by deleting every item and then clearing the vector.

Definition at line 648 of file regchannel.cpp.

References access, and GetAccess().

Referenced by CommandCSFlags::DoClear(), CommandCSAccess::DoClear(), and ~ChannelInfo().

void ChannelInfo::ClearAkick (  ) 

Clear the whole akick list

Definition at line 710 of file regchannel.cpp.

References akick.

Referenced by CommandCSAKick::DoClear(), CommandCSClone::Execute(), and ~ChannelInfo().

void ChannelInfo::ClearBadWords (  ) 

Clear all badwords from the channel

Definition at line 755 of file regchannel.cpp.

References badwords.

Referenced by CommandBSBadwords::DoClear(), CommandCSClone::Execute(), and ~ChannelInfo().

void ChannelInfo::ClearLevels (  ) 

Clear all privileges from the channel

Definition at line 1067 of file regchannel.cpp.

References levels.

Referenced by reset_levels().

void ChannelInfo::ClearMLock (  ) 

Clear all mlocks on the channel

Definition at line 888 of file regchannel.cpp.

References mode_locks.

Referenced by LoadChanInfo().

void ChannelInfo::EraseAccess ( unsigned  index  ) 

Erase an entry from the channel access list

Parameters:
index The index in the access list vector

Clears the memory used by the given access entry and removes it from the vector.

Definition at line 640 of file regchannel.cpp.

References access.

Referenced by XOPBase::DoAdd(), CommandCSAccess::DoAdd(), XOPBase::DoClear(), XOPBase::DoDel(), CommandCSAccess::DoDel(), and ChanServCore::OnDelCore().

void ChannelInfo::EraseAkick ( unsigned  index  ) 

Erase an entry from the channel akick list

Parameters:
index The index of the akick

Definition at line 702 of file regchannel.cpp.

References akick, and GetAkick().

Referenced by CommandCSAKick::DoDel(), and ChanServCore::OnDelCore().

void ChannelInfo::EraseBadWord ( unsigned  index  ) 

Remove a badword

Parameters:
index The index of the badword

Definition at line 745 of file regchannel.cpp.

References badwords, FOREACH_MOD, and I_OnBadWordDel.

Referenced by CommandBSBadwords::DoDelete(), and BadwordsDelCallback::HandleNumber().

ChannelInfo * ChannelInfo::Find ( const Anope::string name  )  [static]

Finds a ChannelInfo

Parameters:
name channel name to lookup
Returns:
the ChannelInfo associated with the channel

Definition at line 1091 of file regchannel.cpp.

References RegisteredChannelList.

Referenced by AccessFor(), AddAccess(), ChannelInfo(), CommandMSSet::DoLimit(), XOPBase::DoXop(), CommandMSRead::Execute(), CommandMSList::Execute(), CommandMSInfo::Execute(), CommandMSIgnore::Execute(), CommandMSDel::Execute(), CommandMSCancel::Execute(), CommandCSUnban::Execute(), CommandCSTopic::Execute(), CommandCSSync::Execute(), CommandCSUnSuspend::Execute(), CommandCSSuspend::Execute(), CommandCSStatus::Execute(), CommandCSSetMisc::Execute(), CommandCSSASetNoexpire::Execute(), CommandCSSetSuccessor::Execute(), CommandCSSetSignKick::Execute(), CommandCSSetSecureOps::Execute(), CommandCSSetSecureFounder::Execute(), CommandCSSetSecure::Execute(), CommandCSSetRestricted::Execute(), CommandCSSetPrivate::Execute(), CommandCSSetPersist::Execute(), CommandCSSetPeace::Execute(), CommandCSSetKeepTopic::Execute(), CommandCSSetFounder::Execute(), CommandCSSetDescription::Execute(), CommandCSSetChanstats::Execute(), CommandCSSetBanType::Execute(), CommandCSSetAutoOp::Execute(), CommandCSRegister::Execute(), CommandCSMode::Execute(), CommandCSLog::Execute(), CommandCSKick::Execute(), CommandCSInfo::Execute(), CommandCSGetKey::Execute(), CommandCSFlags::Execute(), CommandEntryMessage::Execute(), CommandCSEnforce::Execute(), CommandCSDrop::Execute(), CommandCSClone::Execute(), CommandCSBan::Execute(), CommandCSAKick::Execute(), CommandCSLevels::Execute(), CommandCSAccess::Execute(), CommandBSSetNoBot::Execute(), CommandBSSetGreet::Execute(), CommandBSSetFantasy::Execute(), CommandBSSetDontKickVoices::Execute(), CommandBSSetDontKickOps::Execute(), CommandBSKick::Execute(), CommandBSInfo::Execute(), CommandBSAct::Execute(), CommandBSSay::Execute(), CommandBSBadwords::Execute(), CommandBSUnassign::Execute(), CommandBSAssign::Execute(), MemoInfo::GetMemoInfo(), NSAJoin::OnNickIdentify(), WebCPanel::MemoServ::Memos::OnRequest(), WebCPanel::ChanServ::Set::OnRequest(), WebCPanel::ChanServ::Akick::OnRequest(), WebCPanel::ChanServ::Access::OnRequest(), ReadDatabase(), MyMemoServService::Send(), ShouldHide(), Unserialize(), LogSetting::Unserialize(), ModeLock::Unserialize(), AutoKick::Unserialize(), BadWord::Unserialize(), ChanAccess::Unserialize(), CSMiscData::Unserialize(), and EntryMsg::Unserialize().

ChanAccess * ChannelInfo::GetAccess ( unsigned  index  )  const

Get an entry from the channel access list by index

Parameters:
index The index in the access list vector
Returns:
A ChanAccess struct corresponding to the index given, or NULL if outside the bounds

Retrieves an entry from the access list that matches the given index.

Definition at line 567 of file regchannel.cpp.

References access, and Serializable::QueueUpdate().

Referenced by AccessFor(), ChannelInfo(), ClearAccess(), XOPBase::DoAdd(), CommandCSAccess::DoAdd(), XOPBase::DoClear(), XOPBase::DoDel(), CommandCSAccess::DoDel(), XOPBase::DoList(), CommandCSFlags::DoList(), CommandCSFlags::DoModify(), CommandCSClone::Execute(), ChanServCore::OnDelCore(), WebCPanel::ChanServ::Access::OnRequest(), DBPlain::OnSaveDatabase(), and CommandCSAccess::ProcessList().

unsigned ChannelInfo::GetAccessCount (  )  const
AutoKick * ChannelInfo::GetAkick ( unsigned  index  )  const

Get an entry from the channel akick list

Parameters:
index The index in the akick vector
Returns:
The akick structure, or NULL if not found

Definition at line 687 of file regchannel.cpp.

References akick, and Serializable::QueueUpdate().

Referenced by ChannelInfo(), CommandCSAKick::DoAdd(), CommandCSAKick::DoDel(), EraseAkick(), CommandCSStatus::Execute(), CommandCSClone::Execute(), ChanServCore::OnDelCore(), WebCPanel::ChanServ::Akick::OnRequest(), DBPlain::OnSaveDatabase(), and CommandCSAKick::ProcessList().

unsigned ChannelInfo::GetAkickCount (  )  const
BadWord * ChannelInfo::GetBadWord ( unsigned  index  )  const
unsigned ChannelInfo::GetBadWordCount (  )  const

Get how many badwords are on this channel

Returns:
The number of badwords in the vector

Definition at line 740 of file regchannel.cpp.

References badwords.

Referenced by ChannelInfo(), CommandBSBadwords::DoAdd(), CommandBSBadwords::DoDelete(), CommandBSBadwords::DoList(), CommandCSClone::Execute(), BadwordsDelCallback::HandleNumber(), BSKick::OnPrivmsg(), and DBPlain::OnSaveDatabase().

NickCore * ChannelInfo::GetFounder (  )  const
Anope::string ChannelInfo::GetIdealBan ( User u  )  const

Gets a ban mask for the given user based on the bantype of the channel.

Parameters:
u The user
Returns:
A ban mask that affects the user

Definition at line 1072 of file regchannel.cpp.

References bantype, User::GetDisplayedHost(), User::GetVIdent(), and User::Mask().

Referenced by BSKick::check_ban(), CheckKick(), CommandCSEnforce::DoRegOnly(), CommandCSEnforce::DoRestricted(), CommandCSEnforce::DoSSLOnly(), and CommandCSBan::Execute().

int16_t ChannelInfo::GetLevel ( const Anope::string priv  )  const

Get the level for a privilege

Parameters:
priv The privilege name
Returns:
the level
Exceptions:
CoreException if priv is not a valid privilege

Definition at line 1043 of file regchannel.cpp.

References PrivilegeManager::FindPrivilege(), levels, and LOG_DEBUG.

Referenced by CommandCSLevels::DoList(), AccessGroup::HasPriv(), and DBPlain::OnSaveDatabase().

const ModeLock * ChannelInfo::GetMLock ( const Anope::string mname,
const Anope::string param = "" 
)

Get details for a specific mlock

Parameters:
mname The mode name
An optional param to match with
Returns:
The MLock, if any

Definition at line 908 of file regchannel.cpp.

References Anope::string::empty(), Anope::Match(), and mode_locks.

const ChannelInfo::ModeList & ChannelInfo::GetMLock (  )  const

Get all of the mlocks for this channel

Returns:
The mlocks

Definition at line 895 of file regchannel.cpp.

References mode_locks.

Referenced by CommandCSMode::DoLock(), CommandCSInfo::Execute(), GetMLockAsString(), and DBPlain::OnSaveDatabase().

Anope::string ChannelInfo::GetMLockAsString ( bool  complete  )  const

Get the current mode locks as a string

Parameters:
complete True to show mlock parameters aswell
Returns:
A string of mode locks, eg: +nrt

Definition at line 929 of file regchannel.cpp.

References Anope::string::clear(), Anope::string::empty(), ModeManager::FindChannelModeByName(), GetMLock(), Anope::string::length(), Mode::mchar, MODE_LIST, MODE_STATUS, ModeLock::name, ModeLock::param, ModeLock::set, and Mode::type.

Referenced by CommandCSMode::DoLock(), and CommandCSInfo::Execute().

std::pair< ChannelInfo::ModeList::iterator, ChannelInfo::ModeList::iterator > ChannelInfo::GetModeList ( const Anope::string name  ) 

Get a list of modes on a channel

Parameters:
Name The mode name to get a list of
Returns:
a pair of iterators for the beginning and end of the list

Definition at line 900 of file regchannel.cpp.

References mode_locks.

NickCore * ChannelInfo::GetSuccessor (  )  const
bool ChannelInfo::HasMLock ( ChannelMode mode,
const Anope::string param,
bool  status 
) const

Check if a mode is mlocked

Parameters:
mode The mode
An optional param
status True to check mlock on, false for mlock off
Returns:
true on success, false on fail

Definition at line 761 of file regchannel.cpp.

References mode_locks, MODE_REGULAR, Mode::name, ModeLock::param, and Mode::type.

void ChannelInfo::RemoveLevel ( const Anope::string priv  ) 

Remove a privilege from the channel

Parameters:
priv The privilege

Definition at line 1062 of file regchannel.cpp.

References levels.

void ChannelInfo::RemoveMLock ( ModeLock mlock  ) 

Definition at line 876 of file regchannel.cpp.

References mode_locks, and ModeLock::name.

bool ChannelInfo::RemoveMLock ( ChannelMode mode,
bool  status,
const Anope::string param = "" 
)

Remove a mlock

Parameters:
mode The mode
status True for mlock on, false for mlock off
param The param of the mode, required if it is a list or status mode
Returns:
true on success, false on failure

Definition at line 826 of file regchannel.cpp.

References EVENT_STOP, FOREACH_RESULT, I_OnUnMLock, mode_locks, MODE_PARAM, MODE_REGULAR, Mode::name, ModeLock::param, ModeLock::set, and Mode::type.

Referenced by CommandCSMode::DoLock(), and CommandCSSetPersist::Execute().

void ChannelInfo::RestoreTopic (  ) 

Restore the channel topic, used on channel creation when not syncing with the uplink and after uplink sync

Definition at line 1032 of file regchannel.cpp.

References c, Channel::ChangeTopic(), Anope::CurTime, Anope::string::empty(), Extensible::HasExt(), last_topic, last_topic_setter, last_topic_time, User::nick, Channel::topic, and WhoSends().

void ChannelInfo::Serialize ( Serialize::Data &  data  )  const
void ChannelInfo::SetFounder ( NickCore nc  ) 

Change the founder of the channek nc The new founder

Definition at line 511 of file regchannel.cpp.

References founder.

Referenced by CommandCSSetFounder::Execute(), CommandCSRegister::Execute(), LoadChannels(), OnDatabaseReadMetadata(), ChanServCore::OnDelCore(), and ~ChannelInfo().

void ChannelInfo::SetLevel ( const Anope::string priv,
int16_t  level 
)

Set the level for a privilege

Parameters:
priv The privilege priv
level The new level

Definition at line 1057 of file regchannel.cpp.

References levels.

Referenced by CommandCSLevels::DoDisable(), CommandCSLevels::DoSet(), LoadChannels(), OnDatabaseReadMetadata(), and reset_levels().

bool ChannelInfo::SetMLock ( ChannelMode mode,
bool  status,
const Anope::string param = "",
Anope::string  setter = "",
time_t  created = Anope::CurTime 
)

Set a mlock

Parameters:
mode The mode
status True for mlock on, false for mlock off
param An optional param arg for + mlocked modes
setter Who is setting the mlock
created When the mlock was created
Returns:
true on success, false on failure (module blocking)

Definition at line 784 of file regchannel.cpp.

References Anope::string::empty(), EVENT_STOP, FOREACH_RESULT, founder, I_OnMLock, mode_locks, MODE_PARAM, MODE_REGULAR, Mode::name, ModeLock::param, and Mode::type.

Referenced by CommandCSMode::DoLock(), CommandCSSetPersist::Execute(), CommandCSRegister::Execute(), and process_mlock().

void ChannelInfo::SetSuccessor ( NickCore nc  ) 
Serializable * ChannelInfo::Unserialize ( Serializable obj,
Serialize::Data &  data 
) [static]
BotInfo * ChannelInfo::WhoSends (  )  const

Find which bot should send mode/topic/etc changes for this channel

Returns:
The bot

Definition at line 547 of file regchannel.cpp.

References bi, BotListByNick, and ChanServ.

Referenced by CommandCSKick::Execute(), CommandCSInvite::Execute(), CommandCSBan::Execute(), RestoreTopic(), and Server::Sync().


Friends And Related Function Documentation

friend class AutoKick [friend]

Definition at line 170 of file regchannel.h.

Referenced by AddAkick().

friend struct BadWord [friend]

Definition at line 171 of file regchannel.h.

Referenced by AddBadWord().

friend class ChanAccess [friend]

Definition at line 169 of file regchannel.h.


Field Documentation

Serialize::Checker<std::vector<AutoKick *> > ChannelInfo::akick [private]

Definition at line 164 of file regchannel.h.

Referenced by AddAkick(), ChannelInfo(), ClearAkick(), EraseAkick(), GetAkick(), and GetAkickCount().

Serialize::Checker<std::vector<BadWord *> > ChannelInfo::badwords [private]
std::map<Anope::string, int16_t> ChannelInfo::levels [private]

Definition at line 166 of file regchannel.h.

Referenced by ClearLevels(), GetLevel(), RemoveLevel(), Serialize(), and SetLevel().

Definition at line 177 of file regchannel.h.

Referenced by CommandCSTopic::Append(), Log::BuildPrefix(), ChannelInfo(), CheckKick(), XOPBase::DoAdd(), CommandEntryMessage::DoAdd(), CommandCSAKick::DoAdd(), CommandCSAccess::DoAdd(), CommandBSBadwords::DoAdd(), CommandCSEnforce::DoBans(), XOPBase::DoClear(), CommandCSFlags::DoClear(), CommandEntryMessage::DoClear(), CommandCSAKick::DoClear(), CommandCSAccess::DoClear(), XOPBase::DoDel(), CommandEntryMessage::DoDel(), CommandCSAKick::DoDel(), CommandCSAccess::DoDel(), CommandBSBadwords::DoDelete(), CommandCSLevels::DoDisable(), CommandCSAKick::DoEnforce(), CommandCSEnforce::DoLimit(), XOPBase::DoList(), CommandCSFlags::DoList(), CommandEntryMessage::DoList(), CommandCSAKick::DoList(), CommandCSLevels::DoList(), CommandCSAccess::DoList(), CommandBSBadwords::DoList(), CommandCSMode::DoLock(), CommandCSFlags::DoModify(), MemoListCallback::DoRead(), CommandCSEnforce::DoRegOnly(), CommandCSLevels::DoReset(), CommandCSEnforce::DoRestricted(), CommandCSEnforce::DoSecureOps(), CommandCSLevels::DoSet(), CommandCSEnforce::DoSSLOnly(), CommandCSAKick::DoView(), CommandCSAccess::DoView(), CommandNSAList::Execute(), CommandMSList::Execute(), CommandCSUnban::Execute(), CommandCSTopic::Execute(), CommandCSSync::Execute(), CommandCSUnSuspend::Execute(), CommandCSSuspend::Execute(), CommandCSStatus::Execute(), CommandCSSetMisc::Execute(), CommandCSSASetNoexpire::Execute(), CommandCSSetSuccessor::Execute(), CommandCSSetSignKick::Execute(), CommandCSSetSecureOps::Execute(), CommandCSSetSecureFounder::Execute(), CommandCSSetSecure::Execute(), CommandCSSetRestricted::Execute(), CommandCSSetPrivate::Execute(), CommandCSSetPersist::Execute(), CommandCSSetPeace::Execute(), CommandCSSetKeepTopic::Execute(), CommandCSSetFounder::Execute(), CommandCSSetDescription::Execute(), CommandCSSetBanType::Execute(), CommandCSSetAutoOp::Execute(), CommandCSLog::Execute(), CommandCSList::Execute(), CommandCSEnforce::Execute(), CommandCSClone::Execute(), CommandCSBan::Execute(), CommandBSSetNoBot::Execute(), CommandBSSetGreet::Execute(), CommandBSSetFantasy::Execute(), CommandBSSetDontKickVoices::Execute(), CommandBSSetDontKickOps::Execute(), CommandBSInfo::Execute(), CommandBSAct::Execute(), CommandBSSay::Execute(), CommandBSUnassign::Execute(), CommandBSAssign::Execute(), LoadChanInfo(), LoadChannels(), CommandCSTopic::Lock(), Log::Log(), OnDatabaseReadMetadata(), ChanServCore::OnDelCore(), BSKick::OnPrivmsg(), WebCPanel::NickServ::Alist::OnRequest(), WebCPanel::MemoServ::Memos::OnRequest(), WebCPanel::ChanServ::Set::OnRequest(), WebCPanel::ChanServ::Info::OnRequest(), WebCPanel::ChanServ::Drop::OnRequest(), WebCPanel::ChanServ::Akick::OnRequest(), WebCPanel::ChanServ::Access::OnRequest(), DBPlain::OnSaveDatabase(), CommandCSAKick::ProcessList(), CommandCSAccess::ProcessList(), MyMemoServService::Send(), CommandBSInfo::send_bot_channels(), Serialize(), Server::Sync(), ExpireCallback::Tick(), CommandCSTopic::Unlock(), BadwordsDelCallback::~BadwordsDelCallback(), and ~ChannelInfo().

Definition at line 162 of file regchannel.h.

Referenced by ChannelInfo(), GetSuccessor(), Serialize(), and SetSuccessor().

int16_t ChannelInfo::ttb[TTB_SIZE]

The documentation for this class was generated from the following files: