Anope IRC Services  Version 2.0
Functions | Variables
regchannel.cpp File Reference
#include "services.h"
#include "modules.h"
#include "regchannel.h"
#include "account.h"
#include "access.h"
#include "channels.h"
#include "config.h"
#include "bots.h"
#include "servers.h"
Include dependency graph for regchannel.cpp:

Go to the source code of this file.

Functions

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

Variables

Serialize::Checker
< registered_channel_map
RegisteredChannelList ("ChannelInfo")
 

Function Documentation

bool IsFounder ( const User user,
const ChannelInfo ci 
)

Is the user the real founder?

Parameters
userThe user
ciThe channel
Returns
true or false

Definition at line 642 of file regchannel.cpp.

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

Referenced by ChannelInfo::AccessFor(), and CommandSource::IsFounder().

Variable Documentation

Serialize::Checker<registered_channel_map> RegisteredChannelList("ChannelInfo")