summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-13 21:52:21 -0400
committerAdam <Adam@anope.org>2011-09-10 01:52:46 -0400
commit8a6d6577bd6c9d5ca57c98d932a99ae890ba7cc8 (patch)
treec3d63ae7797a4c8d08cd7b75ef69a48720a9605d /include
parent4a7ba7ef4cd92263d8187b1385d8bf46102ef7b3 (diff)
Removed log:inhabitlogchannel and replaced it with service:channels
Diffstat (limited to 'include')
-rw-r--r--include/bots.h1
-rw-r--r--include/channels.h4
-rw-r--r--include/logger.h3
3 files changed, 3 insertions, 5 deletions
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<BotFlag, BI_END>
typedef Anope::insensitive_map<CommandInfo> 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<Anope::string> 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<Anope::string, LogFile *> Logfiles;
std::list<Anope::string> Sources;
int LogAge;
- bool Inhabit;
std::list<Anope::string> Admin;
std::list<Anope::string> Override;
std::list<Anope::string> 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();