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); }
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); }