summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-08-01 14:07:56 +0000
committerAdam <Adam@anope.org>2013-08-01 14:07:56 +0000
commit83e4b183eafdcf7cef1eba4dadf1d1de86c59457 (patch)
treec70a0e47eb0a04d4d39ea6e40de3243e3e1b2ed3 /include
parent1e625b6837fdf96616cfc49700aa28d184a7c171 (diff)
Add keepmodes setting
Diffstat (limited to 'include')
-rw-r--r--include/account.h1
-rw-r--r--include/regchannel.h2
2 files changed, 3 insertions, 0 deletions
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<Anope::string> access;
MemoInfo memos;
+ std::map<Anope::string, Anope::string> 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;