bool IsTimed() const { return (expiretimer != NULL); }
/** Serialize this object
- * @param format Serialization format
+ * @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(SerializeFormat format, bool show_chans, std::string& out);
+ void Serialize(bool human, bool show_chans, std::string& out);
friend class APIImpl;