From 8a6d6577bd6c9d5ca57c98d932a99ae890ba7cc8 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 13 Aug 2011 21:52:21 -0400 Subject: Removed log:inhabitlogchannel and replaced it with service:channels --- include/bots.h | 1 + include/channels.h | 4 +--- include/logger.h | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/bots.h b/include/bots.h index f5b4c528a..20daeddcf 100644 --- a/include/bots.h +++ b/include/bots.h @@ -41,6 +41,7 @@ class CoreExport BotInfo : public User, public Flags typedef Anope::insensitive_map command_map; command_map commands; /* Commands, actual name to service name */ Anope::string botmodes; /* Modes the bot should have as configured in service:modes */ + std::vector botchannels; /* Channels the bot should be in as configured in service:channels */ bool introduced; /* Whether or not this bot is introduced */ /** Create a new bot. diff --git a/include/channels.h b/include/channels.h index 113b5c1f9..5b8801406 100644 --- a/include/channels.h +++ b/include/channels.h @@ -30,9 +30,7 @@ enum ChannelFlag /* Channel still exists when emptied */ CH_PERSIST, /* If set the channel is syncing users (channel was just created) and it should not be deleted */ - CH_SYNCING, - /* Is a services log channel */ - CH_LOGCHAN + CH_SYNCING }; const Anope::string ChannelFlagString[] = { "CH_INABIT", "CH_PERSIST", "CH_SYNCING", "CH_LOGCHAN", "" }; diff --git a/include/logger.h b/include/logger.h index d012c4450..423e096d3 100644 --- a/include/logger.h +++ b/include/logger.h @@ -73,7 +73,6 @@ class CoreExport LogInfo std::map Logfiles; std::list Sources; int LogAge; - bool Inhabit; std::list Admin; std::list Override; std::list Commands; @@ -84,7 +83,7 @@ class CoreExport LogInfo bool RawIO; bool Debug; - LogInfo(int logage, bool inhabit, bool rawio, bool debug); + LogInfo(int logage, bool rawio, bool debug); ~LogInfo(); -- cgit