summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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;