Exemple #1
0
void Protocol::SetNick(const TCHAR *nick)
{
	// See if can get one
	if (!CanSetNick())
		return;

	if (nick == NULL)
		return;

	// Get it
	CallProtoService(name, PS_SETMYNICKNAME, SMNN_TCHAR, (LPARAM)nick);
}
Exemple #2
0
void Protocol::SetNick(const char *nick)
{
	// See if can get one
	if (!CanSetNick())
		return;

	if (nick == NULL)
		return;

	// Get it
	Call(PS_SETMYNICKNAME, NULL, (LPARAM) nick);
}