]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules/invite.h
Remove the Kiwi links from the readme.
[user/henk/code/inspircd.git] / include / modules / invite.h
index ab907e970815a752f686a27fd3d28d494424575d..ba76f577edde41b0d28e7d47bb8d9819d1b671fb 100644 (file)
@@ -1,7 +1,8 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
- *   Copyright (C) 2012, 2015 Attila Molnar <attilamolnar@hush.com>
+ *   Copyright (C) 2019 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2015 Attila Molnar <attilamolnar@hush.com>
  *
  * This file is part of InspIRCd.  InspIRCd is free software: you can
  * redistribute it and/or modify it under the terms of the GNU General Public
@@ -100,6 +101,13 @@ class Invite::Invite : public insp::intrusive_list_node<Invite, LocalUser>, publ
         */
        bool IsTimed() const { return (expiretimer != NULL); }
 
+       /** Serialize this object
+        * @param human Whether to serialize for human consumption or not.
+        * @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(bool human, bool show_chans, std::string& out);
+
        friend class APIImpl;
 
  private: