- * @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)
- {
- irc::spacesepstream x(modeline);
- parameterlist n;
- std::string v;
- while (x.GetToken(v))
- n.push_back(v);
- SendMode(target, n);
- }
-
- /** Send a notice to users with a given mode(s).
- * @param modes The modes required for the message to be sent.
- * @param text The message to send.
+ * @param source The source of the mode change
+ * @param usertarget The target user, NULL if the target is a channel
+ * @param chantarget The target channel, NULL if the target is a user
+ * @param modedata The mode changes to send.
+ * @param translate A list of translation types