*/
virtual void SendMetaData(void* target, int type, const std::string &key, const std::string &data) { }
+ /** Send a topic change for a channel
+ * @param channel The channel to change the topic for.
+ * @param topic The new topic to use for the channel.
+ */
virtual void SendTopic(Channel* channel, std::string &topic) { }
+ /** Send mode changes for an object.
+ * @param target The channel name or user to send mode changes for.
+ * @param The mode changes to send.
+ */
virtual void SendMode(const std::string &target, parameterlist &modedata) { }
+ /** Convenience function, string wrapper around the above.
+ */
virtual void SendModeStr(const std::string &target, const std::string &modeline)
{
- /* Convenience function */
irc::spacesepstream x(modeline);
parameterlist n;
std::string v;