* @return The number of users left on the channel. If this is zero
* when the method returns, you MUST delete the Channel immediately!
*/
* @return The number of users left on the channel. If this is zero
* when the method returns, you MUST delete the Channel immediately!
*/
/** Part a user from this channel with the given reason.
* If the reason field is NULL, no reason will be sent.
/** Part a user from this channel with the given reason.
* If the reason field is NULL, no reason will be sent.
* @param text A printf-style format string which builds the output line without prefix
* @param ... Zero or more POD type
*/
* @param text A printf-style format string which builds the output line without prefix
* @param ... Zero or more POD type
*/
- void WriteChannelWithServ(const char* ServName, const char* text, ...) CUSTOM_PRINTF(3, 4);
+ void WriteChannelWithServ(const std::string& ServName, const char* text, ...) CUSTOM_PRINTF(3, 4);
/** Write to a channel, from a server, using std::string for text
* @param ServName Server name to prefix the line with
* @param text A std::string containing the output line without prefix
*/
/** Write to a channel, from a server, using std::string for text
* @param ServName Server name to prefix the line with
* @param text A std::string containing the output line without prefix
*/
/** Write to all users on a channel except a specific user, using va_args for text.
* Internally, this calls WriteAllExcept().
/** Write to all users on a channel except a specific user, using va_args for text.
* Internally, this calls WriteAllExcept().