git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10708
e03df62e-2008-0410-955e-
edbf42e46eb7
*/
virtual void SendTopic(Channel* channel, std::string &topic) { }
*/
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) { }
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)
{
virtual void SendModeStr(const std::string &target, const std::string &modeline)
{
- /* Convenience function */
irc::spacesepstream x(modeline);
parameterlist n;
std::string v;
irc::spacesepstream x(modeline);
parameterlist n;
std::string v;