X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fchannels.h;h=be872b7fe7bb55dca3cda73d5e466835a4e4294a;hb=6466e3093a4e5e996f2c9f3c4fd9f6eb1ac0e7b9;hp=0a131ddb35eca048542de758537c2a835819bbdb;hpb=0586ec9baa7961240e0eab5b27d7823a9d465704;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/channels.h b/include/channels.h index 0a131ddb3..be872b7fe 100644 --- a/include/channels.h +++ b/include/channels.h @@ -138,8 +138,11 @@ class CoreExport Channel : public Extensible /** Sets the channel topic. * @param user The user setting the topic. * @param topic The topic to set it to. + * @param topicts Timestamp of the new topic. + * @param setter Setter string, may be used when the original setter is no longer online. + * If omitted or NULL, the setter string is obtained from the user. */ - void SetTopic(User* user, const std::string& topic); + void SetTopic(User* user, const std::string& topic, time_t topicts, const std::string* setter = NULL); /** Obtain the channel "user counter" * This returns the number of users on this channel