diff options
| author | 2015-11-02 13:40:15 +0100 | |
|---|---|---|
| committer | 2015-11-02 13:40:15 +0100 | |
| commit | a124a3783d8e8136b63f188bbd292c391811df54 (patch) | |
| tree | 93f446719933bcfcb2f3580fef778a37c70dc57e /include/modules | |
| parent | Rewrite invite system (diff) | |
core_channel Implement invite (un)serialization
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/invite.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/modules/invite.h b/include/modules/invite.h index ab907e970..e53d5202f 100644 --- a/include/modules/invite.h +++ b/include/modules/invite.h @@ -100,6 +100,13 @@ class Invite::Invite : public insp::intrusive_list_node<Invite, LocalUser>, publ */ bool IsTimed() const { return (expiretimer != NULL); } + /** Serialize this object + * @param format Serialization format + * @param show_chans True to include channel in the output, false to include the nick/uuid + * @param out Output will be appended to this string + */ + void Serialize(SerializeFormat format, bool show_chans, std::string& out); + friend class APIImpl; private: |
