diff options
author | Adam <Adam@anope.org> | 2012-04-23 05:08:26 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-04-23 05:08:26 -0400 |
commit | 573e49a7ead331219eb6f0d3ca9cf83e793a5c9c (patch) | |
tree | e145e04fa3d041cf92ce46da4ac790b63231059c /include/logger.h | |
parent | 63c639e108a00d7dbb0d7ac9891684fc83a3b207 (diff) |
Reworked live SQL support yet again
Diffstat (limited to 'include/logger.h')
-rw-r--r-- | include/logger.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/logger.h b/include/logger.h index a6e3ca113..8cb54a754 100644 --- a/include/logger.h +++ b/include/logger.h @@ -48,11 +48,11 @@ struct LogFile class CoreExport Log { public: - BotInfo *bi; - User *u; + const BotInfo *bi; + const User *u; Command *c; Channel *chan; - ChannelInfo *ci; + const ChannelInfo *ci; Server *s; LogType Type; Anope::string Category; @@ -60,21 +60,21 @@ class CoreExport Log std::stringstream buf; - Log(LogType type = LOG_NORMAL, const Anope::string &category = "", BotInfo *bi = NULL); + Log(LogType type = LOG_NORMAL, const Anope::string &category = "", const BotInfo *bi = NULL); /* LOG_COMMAND/OVERRIDE/ADMIN */ - Log(LogType type, User *u, Command *c, ChannelInfo *ci = NULL); + Log(LogType type, const User *u, Command *c, const ChannelInfo *ci = NULL); /* LOG_CHANNEL */ - Log(User *u, Channel *c, const Anope::string &category = ""); + Log(const User *u, Channel *c, const Anope::string &category = ""); /* LOG_USER */ - explicit Log(User *u, const Anope::string &category = "", BotInfo *bi = NULL); + explicit Log(const User *u, const Anope::string &category = "", const BotInfo *bi = NULL); /* LOG_SERVER */ - explicit Log(Server *s, const Anope::string &category = "", BotInfo *bi = NULL); + explicit Log(Server *s, const Anope::string &category = "", const BotInfo *bi = NULL); - explicit Log(BotInfo *b, const Anope::string &category = ""); + explicit Log(const BotInfo *b, const Anope::string &category = ""); ~Log(); |