From 81a45520a773732c9f46785f27aa1956150775d7 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 13 May 2010 14:56:13 -0400 Subject: Added some global variables for the core pseudo clients, keeps us from having to call findbot() everywhere --- include/extern.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index ed3323c3b..67364c0f5 100644 --- a/include/extern.h +++ b/include/extern.h @@ -36,6 +36,14 @@ E bool bad_password(User *u); E void sqline(const std::string &mask, const std::string &reason); E void common_unban(ChannelInfo *ci, const std::string &nick); +E BotInfo *BotServ; +E BotInfo *ChanServ; +E BotInfo *Global; +E BotInfo *HostServ; +E BotInfo *MemoServ; +E BotInfo *NickServ; +E BotInfo *OperServ; + /**** botserv.c ****/ E BotInfo *botlists[256]; -- cgit