Added /disconnect command

This commit is contained in:
James Booth
2012-10-27 18:12:04 +01:00
parent 852112cda8
commit 28d388319a
4 changed files with 41 additions and 2 deletions

View File

@@ -134,7 +134,7 @@ loop_out:
void
prof_handle_login_success(const char *jid)
{
const char *msg = " logged in successfully.";
const char *msg = "logged in successfully.";
cons_show("%s %s", jid, msg);
title_bar_set_status(PRESENCE_ONLINE);
log_info("%s %s", jid, msg);
@@ -201,7 +201,7 @@ prof_handle_roster(GSList *roster)
}
static void
_create_config_directory()
_create_config_directory(void)
{
GString *dir = g_string_new(getenv("HOME"));
g_string_append(dir, "/.profanity");