From 83e4b183eafdcf7cef1eba4dadf1d1de86c59457 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 1 Aug 2013 14:07:56 +0000 Subject: Add keepmodes setting --- include/account.h | 1 + include/regchannel.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/account.h b/include/account.h index 15fc0f20f..5b4d8cc3b 100644 --- a/include/account.h +++ b/include/account.h @@ -120,6 +120,7 @@ class CoreExport NickCore : public Serializable, public Extensible * on if NI_SECURE is set and what (if any) kill protection is enabled. */ std::vector access; MemoInfo memos; + std::map last_modes; /* Nicknames registered that are grouped to this account. * for n in aliases, n->nc == this. diff --git a/include/regchannel.h b/include/regchannel.h index 49fc882e2..3952e5a54 100644 --- a/include/regchannel.h +++ b/include/regchannel.h @@ -68,6 +68,8 @@ class CoreExport ChannelInfo : public Serializable, public Extensible Anope::string last_topic_setter; /* Setter */ time_t last_topic_time; /* Time */ + Channel::ModeList last_modes; /* The last modes set on this channel */ + int16_t bantype; MemoInfo memos; -- cgit