Data Structures | Typedefs | Enumerations | Functions | Variables

regchannel.h File Reference

#include "memo.h"
#include "modes.h"
#include "extensible.h"
#include "logger.h"
#include "modules.h"
#include "serialize.h"
#include "bots.h"
Include dependency graph for regchannel.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  BadWord
class  AutoKick
struct  ModeLock
struct  LogSetting
class  ChannelInfo

Typedefs

typedef Anope::hash_map
< ChannelInfo * > 
registered_channel_map

Enumerations

enum  {
  TTB_BOLDS, TTB_COLORS, TTB_REVERSES, TTB_UNDERLINES,
  TTB_BADWORDS, TTB_CAPS, TTB_FLOOD, TTB_REPEAT,
  TTB_ITALICS, TTB_AMSGS, TTB_SIZE
}
enum  BadWordType { BW_ANY, BW_SINGLE, BW_START, BW_END }

Functions

CoreExport bool IsFounder (const User *user, const ChannelInfo *ci)

Variables

CoreExport Serialize::Checker
< registered_channel_map
RegisteredChannelList

Typedef Documentation

Definition at line 21 of file regchannel.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
TTB_BOLDS 
TTB_COLORS 
TTB_REVERSES 
TTB_UNDERLINES 
TTB_BADWORDS 
TTB_CAPS 
TTB_FLOOD 
TTB_REPEAT 
TTB_ITALICS 
TTB_AMSGS 
TTB_SIZE 

Definition at line 26 of file regchannel.h.

Flags for badwords

Enumerator:
BW_ANY 
BW_SINGLE 
BW_START 
BW_END 

Definition at line 43 of file regchannel.h.


Function Documentation

CoreExport bool IsFounder ( const User user,
const ChannelInfo ci 
)

Is the user the real founder?

Parameters:
user The user
ci The channel
Returns:
true or false

Definition at line 1103 of file regchannel.cpp.

References User::Account(), ChannelInfo::GetFounder(), and User::super_admin.

Referenced by ChannelInfo::AccessFor().


Variable Documentation