diff options
author | Adam <Adam@anope.org> | 2011-09-03 01:10:12 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-10 02:06:29 -0400 |
commit | 1478b5bbd7ecc99c3ceefc0396845ebb0608d331 (patch) | |
tree | 24783150322c7774643e22f4b3074764dab0736e /include/regchannel.h | |
parent | 19e0b87aa1f41c3aabf6afc87ecdc8517dd47af0 (diff) |
Added chanserv/log
Diffstat (limited to 'include/regchannel.h')
-rw-r--r-- | include/regchannel.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/regchannel.h b/include/regchannel.h index 1d071fb0f..017b93afe 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -96,6 +96,19 @@ struct ModeLock ModeLock(bool s, ChannelModeName n, const Anope::string &p, const Anope::string &se = "", time_t c = Anope::CurTime) : set(s), name(n), param(p), setter(se), created(c) { } }; +struct LogSetting +{ + /* Our service name of the command */ + Anope::string service_name; + /* The name of the client the command is on */ + Anope::string command_service; + /* Name of the command to the user, can have spaces */ + Anope::string command_name; + Anope::string method, extra; + Anope::string creator; + time_t created; +}; + class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag, CI_END> { private: @@ -108,6 +121,7 @@ class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag, public: typedef std::multimap<ChannelModeName, ModeLock> ModeList; ModeList mode_locks; + std::vector<LogSetting> log_settings; /** Default constructor * @param chname The channel name |