{ "attr_status_text", " User's message : $0", 1, { 0 } },
{ "attr_status_message", " User's message : $0", 1, { 0 } },
{ "attr_status_message_file", " Message file : $0", 1, { 0 } },
- { "attr_preferred_language", " Preferred langauge : $0", 1, { 0 } },
+ { "attr_preferred_language", " Preferred language : $0", 1, { 0 } },
{ "attr_preferred_contact", " Preferred contact : $0", 1, { 0 } },
{ "attr_geolocation", " Geolocation : $0", 1, { 0 } },
{ "attr_device_info", " Device Info : $0", 1, { 0 } },
silc_client_attribute_del(silc_client, server->conn,
SILC_ATTRIBUTE_STATUS_MESSAGE, NULL);
settings_set_str("attr_status_message", "");
- } else if (!strcasecmp(argv[1], "preferred_langauge")) {
+ } else if (!strcasecmp(argv[1], "preferred_language")) {
silc_client_attribute_del(silc_client, server->conn,
SILC_ATTRIBUTE_PREFERRED_LANGUAGE, NULL);
settings_set_str("attr_preferred_language", "");
settings_set_str("attr_status_text", argv[2]);
} else if (!strcasecmp(argv[1], "status_message")) {
settings_set_str("attr_status_message", argv[2]);
- } else if (!strcasecmp(argv[1], "preferred_langauge")) {
+ } else if (!strcasecmp(argv[1], "preferred_language")) {
settings_set_str("attr_preferred_language", argv[2]);
} else if (!strcasecmp(argv[1], "preferred_contact")) {
settings_set_str("attr_preferred_contact", argv[2]);
mask |= SILC_ATTRIBUTE_MOOD_EXCITED;
if (!strcasecmp(*entry, "ANXIOUS"))
mask |= SILC_ATTRIBUTE_MOOD_ANXIOUS;
- silc_client_attribute_add(silc_client, conn,
- SILC_ATTRIBUTE_STATUS_MOOD, (void *)mask,
- sizeof(SilcUInt32));
}
+ silc_client_attribute_add(silc_client, conn,
+ SILC_ATTRIBUTE_STATUS_MOOD, (void *)mask,
+ sizeof(SilcUInt32));
g_strfreev(list);
}
mask |= SILC_ATTRIBUTE_CONTACT_MMS;
if (!strcasecmp(*entry, "CHAT"))
mask |= SILC_ATTRIBUTE_CONTACT_CHAT;
- silc_client_attribute_add(silc_client, conn,
- SILC_ATTRIBUTE_PREFERRED_CONTACT, (void *)mask,
- sizeof(SilcUInt32));
}
+ silc_client_attribute_add(silc_client, conn,
+ SILC_ATTRIBUTE_PREFERRED_CONTACT, (void *)mask,
+ sizeof(SilcUInt32));
g_strfreev(list);
}