X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodules%2Finvite.h;h=ba76f577edde41b0d28e7d47bb8d9819d1b671fb;hb=635cb9d65f6d7f6758ae8ed874da00c8d94b6e39;hp=e53d5202f71aa7f3e9adf88d560683714ab63187;hpb=d23c030c9a8fd58807438245a004e4aa5b7288ba;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modules/invite.h b/include/modules/invite.h index e53d5202f..ba76f577e 100644 --- a/include/modules/invite.h +++ b/include/modules/invite.h @@ -1,7 +1,8 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2012, 2015 Attila Molnar + * Copyright (C) 2019 Sadie Powell + * Copyright (C) 2015 Attila Molnar * * 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 @@ -101,11 +102,11 @@ class Invite::Invite : public insp::intrusive_list_node, publ 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;