Anope IRC Services  Version 2.0
Public Member Functions | Private Member Functions | Private Attributes
IRC2SQL Class Reference

#include <irc2sql.h>

Inheritance diagram for IRC2SQL:
Inheritance graph
[legend]
Collaboration diagram for IRC2SQL:
Collaboration graph
[legend]

Public Member Functions

 IRC2SQL (const Anope::string &modname, const Anope::string &creator)
 
void OnShutdown () anope_override
 
void OnReload (Configuration::Conf *config) anope_override
 
void OnNewServer (Server *server) anope_override
 
void OnServerQuit (Server *server) anope_override
 
void OnUserConnect (User *u, bool &exempt) anope_override
 
void OnUserQuit (User *u, const Anope::string &msg) anope_override
 
void OnUserNickChange (User *u, const Anope::string &oldnick) anope_override
 
void OnFingerprint (User *u) anope_override
 
void OnUserModeSet (const MessageSource &setter, User *u, const Anope::string &mname) anope_override
 
void OnUserModeUnset (const MessageSource &setter, User *u, const Anope::string &mname) anope_override
 
void OnUserLogin (User *u) anope_override
 
void OnNickLogout (User *u) anope_override
 
void OnSetDisplayedHost (User *u) anope_override
 
void OnChannelCreate (Channel *c) anope_override
 
void OnChannelDelete (Channel *c) anope_override
 
void OnLeaveChannel (User *u, Channel *c) anope_override
 
void OnJoinChannel (User *u, Channel *c) anope_override
 
EventReturn OnChannelModeSet (Channel *c, MessageSource &setter, ChannelMode *mode, const Anope::string &param) anope_override
 
EventReturn OnChannelModeUnset (Channel *c, MessageSource &setter, ChannelMode *mode, const Anope::string &param) anope_override
 
void OnTopicUpdated (Channel *c, const Anope::string &user, const Anope::string &topic) anope_override
 
void OnBotNotice (User *u, BotInfo *bi, Anope::string &message) anope_override
 
- Public Member Functions inherited from Module
 Module (const Anope::string &modname, const Anope::string &loadernick, ModType type=THIRD)
 
virtual ~Module ()
 
void SetPermanent (bool state)
 
bool GetPermanent () const
 
void SetVersion (const Anope::string &version)
 
void SetAuthor (const Anope::string &author)
 
ModuleVersion GetVersion () const
 
virtual void OnPreUserKicked (const MessageSource &source, ChanUserContainer *cu, const Anope::string &kickmsg)
 
virtual void OnUserKicked (const MessageSource &source, User *target, const Anope::string &channel, ChannelStatus &status, const Anope::string &kickmsg)
 
virtual EventReturn OnPreBotAssign (User *sender, ChannelInfo *ci, BotInfo *bi)
 
virtual void OnBotAssign (User *sender, ChannelInfo *ci, BotInfo *bi)
 
virtual EventReturn OnBotUnAssign (User *sender, ChannelInfo *ci)
 
virtual EventReturn OnPreHelp (CommandSource &source, const std::vector< Anope::string > &params)
 
virtual void OnPostHelp (CommandSource &source, const std::vector< Anope::string > &params)
 
virtual EventReturn OnPreCommand (CommandSource &source, Command *command, std::vector< Anope::string > &params)
 
virtual void OnPostCommand (CommandSource &source, Command *command, const std::vector< Anope::string > &params)
 
virtual void OnSaveDatabase ()
 
virtual EventReturn OnLoadDatabase ()
 
virtual EventReturn OnEncrypt (const Anope::string &src, Anope::string &dest)
 
virtual EventReturn OnDecrypt (const Anope::string &hashm, const Anope::string &src, Anope::string &dest)
 
virtual EventReturn OnBotFantasy (CommandSource &source, Command *c, ChannelInfo *ci, const std::vector< Anope::string > &params)
 
virtual EventReturn OnBotNoFantasyAccess (CommandSource &source, Command *c, ChannelInfo *ci, const std::vector< Anope::string > &params)
 
virtual void OnBotBan (User *u, ChannelInfo *ci, const Anope::string &mask)
 
virtual void OnBadWordAdd (ChannelInfo *ci, const BadWord *bw)
 
virtual void OnBadWordDel (ChannelInfo *ci, const BadWord *bw)
 
virtual void OnCreateBot (BotInfo *bi)
 
virtual void OnDelBot (BotInfo *bi)
 
virtual EventReturn OnBotKick (BotInfo *bi, Channel *c, User *u, const Anope::string &reason)
 
virtual void OnPrePartChannel (User *u, Channel *c)
 
virtual void OnPartChannel (User *u, Channel *c, const Anope::string &channel, const Anope::string &msg)
 
virtual void OnPreChanExpire (ChannelInfo *ci, bool &expire)
 
virtual void OnChanExpire (ChannelInfo *ci)
 
virtual void OnPreServerConnect ()
 
virtual void OnServerConnect ()
 
virtual void OnPreUplinkSync (Server *serv)
 
virtual void OnServerDisconnect ()
 
virtual void OnRestart ()
 
virtual void OnPreNickExpire (NickAlias *na, bool &expire)
 
virtual void OnNickExpire (NickAlias *na)
 
virtual void OnDefconLevel (int level)
 
virtual EventReturn OnExceptionAdd (Exception *ex)
 
virtual void OnExceptionDel (CommandSource &source, Exception *ex)
 
virtual EventReturn OnAddXLine (CommandSource &source, const XLine *x, XLineManager *xlm)
 
virtual void OnDelXLine (CommandSource &source, const XLine *x, XLineManager *xlm)
 
virtual EventReturn IsServicesOper (User *u)
 
virtual void OnPreUserLogoff (User *u)
 
virtual void OnPostUserLogoff (User *u)
 
virtual void OnBotCreate (BotInfo *bi)
 
virtual void OnBotChange (BotInfo *bi)
 
virtual void OnBotDelete (BotInfo *bi)
 
virtual void OnAccessDel (ChannelInfo *ci, CommandSource &source, ChanAccess *access)
 
virtual void OnAccessAdd (ChannelInfo *ci, CommandSource &source, ChanAccess *access)
 
virtual void OnAccessClear (ChannelInfo *ci, CommandSource &source)
 
virtual void OnLevelChange (CommandSource &source, ChannelInfo *ci, const Anope::string &priv, int16_t what)
 
virtual EventReturn OnChanDrop (CommandSource &source, ChannelInfo *ci)
 
virtual void OnChanRegistered (ChannelInfo *ci)
 
virtual void OnChanSuspend (ChannelInfo *ci)
 
virtual void OnChanUnsuspend (ChannelInfo *ci)
 
virtual void OnCreateChan (ChannelInfo *ci)
 
virtual void OnDelChan (ChannelInfo *ci)
 
virtual void OnAkickAdd (CommandSource &source, ChannelInfo *ci, const AutoKick *ak)
 
virtual void OnAkickDel (CommandSource &source, ChannelInfo *ci, const AutoKick *ak)
 
virtual EventReturn OnCheckKick (User *u, Channel *c, Anope::string &mask, Anope::string &reason)
 
virtual void OnChanInfo (CommandSource &source, ChannelInfo *ci, InfoFormatter &info, bool show_hidden)
 
virtual EventReturn OnCheckPriv (const ChanAccess *access, const Anope::string &priv)
 
virtual EventReturn OnGroupCheckPriv (const AccessGroup *group, const Anope::string &priv)
 
virtual void OnNickDrop (CommandSource &source, NickAlias *na)
 
virtual void OnNickGroup (User *u, NickAlias *target)
 
virtual void OnNickIdentify (User *u)
 
virtual void OnNickRegister (User *user, NickAlias *na, const Anope::string &pass)
 
virtual void OnNickSuspend (NickAlias *na)
 
virtual void OnNickUnsuspended (NickAlias *na)
 
virtual void OnDelNick (NickAlias *na)
 
virtual void OnNickCoreCreate (NickCore *nc)
 
virtual void OnDelCore (NickCore *nc)
 
virtual void OnChangeCoreDisplay (NickCore *nc, const Anope::string &newdisplay)
 
virtual void OnNickClearAccess (NickCore *nc)
 
virtual void OnNickAddAccess (NickCore *nc, const Anope::string &entry)
 
virtual void OnNickEraseAccess (NickCore *nc, const Anope::string &entry)
 
virtual void OnNickClearCert (NickCore *nc)
 
virtual void OnNickAddCert (NickCore *nc, const Anope::string &entry)
 
virtual void OnNickEraseCert (NickCore *nc, const Anope::string &entry)
 
virtual void OnNickInfo (CommandSource &source, NickAlias *na, InfoFormatter &info, bool show_hidden)
 
virtual void OnBotInfo (CommandSource &source, BotInfo *bi, ChannelInfo *ci, InfoFormatter &info)
 
virtual void OnCheckAuthentication (User *u, IdentifyRequest *req)
 
virtual void OnNickUpdate (User *u)
 
virtual void OnUserAway (User *u, const Anope::string &message)
 
virtual void OnInvite (User *source, Channel *c, User *targ)
 
virtual void OnDeleteVhost (NickAlias *na)
 
virtual void OnSetVhost (NickAlias *na)
 
virtual void OnMemoSend (const Anope::string &source, const Anope::string &target, MemoInfo *mi, Memo *m)
 
virtual void OnMemoDel (const Anope::string &target, MemoInfo *mi, const Memo *m)
 
virtual void OnChannelModeAdd (ChannelMode *cm)
 
virtual void OnUserModeAdd (UserMode *um)
 
virtual EventReturn OnMLock (ChannelInfo *ci, ModeLock *lock)
 
virtual EventReturn OnUnMLock (ChannelInfo *ci, ModeLock *lock)
 
virtual void OnModuleLoad (User *u, Module *m)
 
virtual void OnModuleUnload (User *u, Module *m)
 
virtual void OnServerSync (Server *s)
 
virtual void OnUplinkSync (Server *s)
 
virtual EventReturn OnBotPrivmsg (User *u, BotInfo *bi, Anope::string &message)
 
virtual void OnPrivmsg (User *u, Channel *c, Anope::string &msg)
 
virtual void OnLog (Log *l)
 
virtual void OnLogMessage (LogInfo *li, const Log *l, const Anope::string &msg)
 
virtual void OnDnsRequest (DNS::Query &req, DNS::Query *reply)
 
virtual void OnCheckModes (Reference< Channel > &c)
 
virtual void OnChannelSync (Channel *c)
 
virtual void OnSetCorrectModes (User *user, Channel *chan, AccessGroup &access, bool &give_modes, bool &take_modes)
 
virtual void OnSerializeCheck (Serialize::Type *)
 
virtual void OnSerializableConstruct (Serializable *)
 
virtual void OnSerializableDestruct (Serializable *)
 
virtual void OnSerializableUpdate (Serializable *)
 
virtual void OnSerializeTypeCreate (Serialize::Type *)
 
virtual EventReturn OnSetChannelOption (CommandSource &source, Command *cmd, ChannelInfo *ci, const Anope::string &setting)
 
virtual EventReturn OnSetNickOption (CommandSource &source, Command *cmd, NickCore *nc, const Anope::string &setting)
 
virtual EventReturn OnMessage (MessageSource &source, Anope::string &command, std::vector< Anope::string > &param)
 
virtual EventReturn OnCanSet (User *u, const ChannelMode *cm)
 
virtual EventReturn OnCheckDelete (Channel *)
 
virtual void OnExpireTick ()
 
virtual EventReturn OnNickValidate (User *u, NickAlias *na)
 
- Public Member Functions inherited from Extensible
virtual ~Extensible ()
 
template<typename T >
T * GetExt (const Anope::string &name) const
 
bool HasExt (const Anope::string &name) const
 
template<typename T >
T * Extend (const Anope::string &name, const T &what)
 
template<typename T >
T * Extend (const Anope::string &name)
 
template<typename T >
T * Require (const Anope::string &name)
 
template<typename T >
void Shrink (const Anope::string &name)
 
template<>
bool * Extend (const Anope::string &name, const bool &what)
 

Private Member Functions

void RunQuery (const SQL::Query &q)
 
void GetTables ()
 
bool HasTable (const Anope::string &table)
 
bool HasProcedure (const Anope::string &table)
 
bool HasEvent (const Anope::string &table)
 
void CheckTables ()
 

Private Attributes

ServiceReference< SQL::Providersql
 
MySQLInterface sqlinterface
 
SQL::Query query
 
std::vector< Anope::stringTableList
 
std::vector< Anope::stringProcedureList
 
std::vector< Anope::stringEventList
 
Anope::string prefix
 
Anope::string GeoIPDB
 
bool quitting
 
bool introduced_myself
 
bool ctcpuser
 
bool ctcpeob
 
bool firstrun
 
BotInfoStatServ
 
PrimitiveExtensibleItem< bool > versionreply
 

Additional Inherited Members

- Static Public Member Functions inherited from Extensible
static void ExtensibleSerialize (const Extensible *, const Serializable *, Serialize::Data &data)
 
static void ExtensibleUnserialize (Extensible *, Serializable *, Serialize::Data &data)
 
- Data Fields inherited from Module
Anope::string name
 
ModType type
 
Anope::string filename
 
void * handle
 
time_t created
 
Anope::string version
 
Anope::string author
 
- Data Fields inherited from Extensible
std::set< ExtensibleBase * > extension_items
 

Detailed Description

Definition at line 22 of file irc2sql.h.

Constructor & Destructor Documentation

IRC2SQL::IRC2SQL ( const Anope::string modname,
const Anope::string creator 
)
inline

Definition at line 43 of file irc2sql.h.

Member Function Documentation

void IRC2SQL::CheckTables ( )
private

Definition at line 3 of file tables.cpp.

References Anope::string::equals_ci(), firstrun, GeoIPDB, GetTables(), HasProcedure(), HasTable(), prefix, query, RunQuery(), and sql.

Referenced by OnReload().

void IRC2SQL::GetTables ( )
private
bool IRC2SQL::HasEvent ( const Anope::string table)
private

Definition at line 54 of file utils.cpp.

References EventList.

bool IRC2SQL::HasProcedure ( const Anope::string table)
private

Definition at line 46 of file utils.cpp.

References ProcedureList.

Referenced by CheckTables().

bool IRC2SQL::HasTable ( const Anope::string table)
private

Definition at line 38 of file utils.cpp.

References TableList.

Referenced by CheckTables().

void IRC2SQL::OnBotNotice ( User u,
BotInfo bi,
Anope::string message 
)
virtual

Called when we receive a NOTICE for one of our clients

Parameters
uThe user sending the NOTICE
biThe target of the NOTICE
messageThe message

Reimplemented from Module.

Definition at line 258 of file irc2sql.cpp.

References Anope::string::equals_ci(), Extensible::Extend(), Extensible::HasExt(), Anope::string::length(), User::nick, Anope::NormalizeBuffer(), prefix, query, RunQuery(), SQL::Query::SetValue(), StatServ, and Anope::string::substr().

void IRC2SQL::OnChannelCreate ( Channel c)
virtual

Called when a new channel is created Note that this channel may not be introduced to the uplink at this point.

Parameters
cThe channel

Reimplemented from Module.

Definition at line 180 of file irc2sql.cpp.

References Channel::GetModes(), Channel::name, prefix, query, RunQuery(), SQL::Query::SetValue(), Channel::topic, Channel::topic_setter, and Channel::topic_ts.

Referenced by OnReload().

void IRC2SQL::OnChannelDelete ( Channel c)
virtual

Called when a channel is deleted

Parameters
cThe channel

Reimplemented from Module.

Definition at line 194 of file irc2sql.cpp.

References Channel::name, prefix, query, RunQuery(), and SQL::Query::SetValue().

EventReturn IRC2SQL::OnChannelModeSet ( Channel c,
MessageSource setter,
ChannelMode mode,
const Anope::string param 
)
virtual

Called when a mode is set on a channel

Parameters
cThe channel
setterThe user or server that is setting the mode
modeThe mode
paramThe mode param, if there is one
Returns
EVENT_STOP to make mlock/secureops etc checks not happen

Reimplemented from Module.

Definition at line 215 of file irc2sql.cpp.

References EVENT_CONTINUE, Channel::GetModes(), Channel::name, prefix, query, RunQuery(), and SQL::Query::SetValue().

Referenced by OnChannelModeUnset().

EventReturn IRC2SQL::OnChannelModeUnset ( Channel c,
MessageSource setter,
ChannelMode mode,
const Anope::string param 
)
virtual

Called when a mode is unset on a channel

Parameters
cThe channel
setterThe user or server that is unsetting the mode
modeThe mode
paramThe mode param, if there is one
Returns
EVENT_STOP to make mlock/secureops etc checks not happen

Reimplemented from Module.

Definition at line 224 of file irc2sql.cpp.

References EVENT_CONTINUE, and OnChannelModeSet().

void IRC2SQL::OnFingerprint ( User u)
virtual

Called when we get informed about a users SSL fingerprint when we call this, the fingerprint should already be stored in the user struct

Parameters
upointer to the user

Reimplemented from Module.

Definition at line 134 of file irc2sql.cpp.

References User::fingerprint, Extensible::HasExt(), User::HasMode(), User::nick, prefix, query, RunQuery(), and SQL::Query::SetValue().

void IRC2SQL::OnJoinChannel ( User u,
Channel c 
)
virtual

Called after a user joins a channel If this event triggers the user is allowed to be in the channel, and will not be kicked for restricted/akick/forbidden, etc. If you want to kick the user, use the CheckKick event instead.

Parameters
uThe user
channelThe channel

Reimplemented from Module.

Definition at line 201 of file irc2sql.cpp.

References User::FindChannel(), ChannelStatus::Modes(), modes, Channel::name, User::nick, prefix, query, RunQuery(), SQL::Query::SetValue(), and ChanUserContainer::status.

Referenced by OnReload().

void IRC2SQL::OnLeaveChannel ( User u,
Channel c 
)
virtual

Called when a user leaves a channel. From either parting, being kicked, or quitting/killed!

Parameters
uThe user
cThe channel

Reimplemented from Module.

Definition at line 230 of file irc2sql.cpp.

References Channel::name, User::nick, prefix, query, quitting, User::Quitting(), RunQuery(), and SQL::Query::SetValue().

void IRC2SQL::OnNewServer ( Server s)
virtual

Called when a new server connects to the network.

Parameters
sThe server that has connected to the network

Reimplemented from Module.

Definition at line 60 of file irc2sql.cpp.

References Server::GetDescription(), Server::GetHops(), Server::GetName(), Server::IsULined(), prefix, query, RunQuery(), and SQL::Query::SetValue().

Referenced by OnReload(), and OnUserConnect().

void IRC2SQL::OnNickLogout ( User u)
virtual

Called when a nick logs out

Parameters
uThe nick

Reimplemented from Module.

Definition at line 165 of file irc2sql.cpp.

References OnUserLogin().

void IRC2SQL::OnReload ( Configuration::Conf conf)
virtual

Called when Services' configuration is being (re)loaded.

Parameters
confThe config that is being built now and will replace the global Config object
Exceptions
AConfigException to abort the config (re)loading process.

Reimplemented from Module.

Definition at line 11 of file irc2sql.cpp.

References Servers::ByName, ChannelList, User::chans, CheckTables(), ctcpeob, ctcpuser, Anope::string::empty(), BotInfo::Find(), firstrun, GeoIPDB, Configuration::Block::Get(), Module::name, OnChannelCreate(), OnJoinChannel(), OnNewServer(), OnUserConnect(), prefix, sql, StatServ, and UserListByNick.

void IRC2SQL::OnServerQuit ( Server server)
virtual

Called when a server quits

Parameters
serverThe server

Reimplemented from Module.

Definition at line 73 of file irc2sql.cpp.

References Server::GetName(), prefix, query, quitting, RunQuery(), and SQL::Query::SetValue().

void IRC2SQL::OnSetDisplayedHost ( User )
virtual

Called when a users host changes

Parameters
uThe user

Reimplemented from Module.

Definition at line 170 of file irc2sql.cpp.

References User::GetDisplayedHost(), User::nick, prefix, query, RunQuery(), and SQL::Query::SetValue().

void IRC2SQL::OnShutdown ( )
virtual

Called when services shutdown

Reimplemented from Module.

Definition at line 3 of file irc2sql.cpp.

References prefix, quitting, and sql.

void IRC2SQL::OnTopicUpdated ( Channel c,
const Anope::string user,
const Anope::string topic 
)
virtual

Called when a new topic is set

Parameters
cThe channel
setterThe user who set the new topic
topicThe new topic

Reimplemented from Module.

Definition at line 246 of file irc2sql.cpp.

References Channel::name, prefix, query, RunQuery(), SQL::Query::SetValue(), Channel::topic, Channel::topic_setter, and Channel::topic_ts.

void IRC2SQL::OnUserConnect ( User u,
bool &  exempt 
)
virtual

Called when a new user connects to the network.

Parameters
uThe connecting user.
exemptset to true/is true if the user should be excepted from bans etc

Reimplemented from Module.

Definition at line 83 of file irc2sql.cpp.

References User::Account(), sockaddrs::addr(), User::chost, ctcpeob, ctcpuser, NickCore::display, User::fingerprint, User::GetIdent(), User::GetModes(), Server::GetName(), User::GetUID(), User::GetVIdent(), Extensible::HasExt(), User::HasMode(), User::host, introduced_myself, User::ip, IRCD, Server::IsSynced(), Me, User::nick, OnNewServer(), prefix, query, User::realname, RunQuery(), IRCDProto::SendPrivmsg(), User::server, SQL::Query::SetValue(), User::signon, StatServ, and User::vhost.

Referenced by OnReload().

void IRC2SQL::OnUserLogin ( User u)
virtual

Called when a user is logged into an account

Parameters
uThe user

Reimplemented from Module.

Definition at line 157 of file irc2sql.cpp.

References User::Account(), NickCore::display, User::nick, prefix, query, RunQuery(), and SQL::Query::SetValue().

Referenced by OnNickLogout().

void IRC2SQL::OnUserModeSet ( const MessageSource setter,
User u,
const Anope::string mname 
)
virtual

Called when a mode is set on a user

Parameters
setterwho/what is setting the mode
uThe user
mnameThe mode name

Reimplemented from Module.

Definition at line 143 of file irc2sql.cpp.

References User::GetModes(), User::HasMode(), User::nick, prefix, query, RunQuery(), and SQL::Query::SetValue().

Referenced by OnUserModeUnset().

void IRC2SQL::OnUserModeUnset ( const MessageSource setter,
User u,
const Anope::string mname 
)
virtual

Called when a mode is unset from a user

Parameters
setterwho/what is setting the mode
uThe user
mnameThe mode name

Reimplemented from Module.

Definition at line 152 of file irc2sql.cpp.

References OnUserModeSet().

void IRC2SQL::OnUserNickChange ( User u,
const Anope::string oldnick 
)
virtual

Called after a user changed the nick

Parameters
uThe user.
oldnickThe old nick of the user

Reimplemented from Module.

Definition at line 126 of file irc2sql.cpp.

References User::nick, prefix, query, RunQuery(), and SQL::Query::SetValue().

void IRC2SQL::OnUserQuit ( User u,
const Anope::string msg 
)
virtual

Called when a user quits, or is killed

Parameters
uThe user
msgThe quit message

Reimplemented from Module.

Definition at line 116 of file irc2sql.cpp.

References Server::IsQuitting(), User::nick, prefix, query, quitting, RunQuery(), User::server, and SQL::Query::SetValue().

void IRC2SQL::RunQuery ( const SQL::Query q)
private

Field Documentation

bool IRC2SQL::ctcpeob
private

Definition at line 29 of file irc2sql.h.

Referenced by OnReload(), and OnUserConnect().

bool IRC2SQL::ctcpuser
private

Definition at line 29 of file irc2sql.h.

Referenced by OnReload(), and OnUserConnect().

std::vector<Anope::string> IRC2SQL::EventList
private

Definition at line 27 of file irc2sql.h.

Referenced by GetTables(), and HasEvent().

bool IRC2SQL::firstrun
private

Definition at line 29 of file irc2sql.h.

Referenced by CheckTables(), and OnReload().

Anope::string IRC2SQL::GeoIPDB
private

Definition at line 28 of file irc2sql.h.

Referenced by CheckTables(), and OnReload().

bool IRC2SQL::introduced_myself
private

Definition at line 29 of file irc2sql.h.

Referenced by OnUserConnect().

Anope::string IRC2SQL::prefix
private
std::vector<Anope::string> IRC2SQL::ProcedureList
private

Definition at line 27 of file irc2sql.h.

Referenced by GetTables(), and HasProcedure().

SQL::Query IRC2SQL::query
private
bool IRC2SQL::quitting
private

Definition at line 29 of file irc2sql.h.

Referenced by OnLeaveChannel(), OnServerQuit(), OnShutdown(), and OnUserQuit().

ServiceReference<SQL::Provider> IRC2SQL::sql
private

Definition at line 24 of file irc2sql.h.

Referenced by CheckTables(), GetTables(), OnReload(), OnShutdown(), and RunQuery().

MySQLInterface IRC2SQL::sqlinterface
private

Definition at line 25 of file irc2sql.h.

Referenced by RunQuery().

BotInfo* IRC2SQL::StatServ
private

Definition at line 30 of file irc2sql.h.

Referenced by OnBotNotice(), OnReload(), and OnUserConnect().

std::vector<Anope::string> IRC2SQL::TableList
private

Definition at line 27 of file irc2sql.h.

Referenced by GetTables(), and HasTable().

PrimitiveExtensibleItem<bool> IRC2SQL::versionreply
private

Definition at line 31 of file irc2sql.h.


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