# HG changeset patch # User Mikael Berthe # Date 1120592924 -3600 # Node ID 4d7040cff8ee69c3f29750cca8716490e99dd77d # Parent 627925d885de22d6ae55b61299e98511c23e6047 Remove busy/occupied status, which does not really exist diff -r 627925d885de -r 4d7040cff8ee mcabber/doc/mcabber.1 --- a/mcabber/doc/mcabber.1 Mon Jul 04 12:55:54 2005 +0100 +++ b/mcabber/doc/mcabber.1 Tue Jul 05 20:48:44 2005 +0100 @@ -171,7 +171,7 @@ Send the text message to the currently selected buddy\&. Can be useful if you want to send a message beginning with a slash, for example\&. .TP -\fB/status\fR [online|avail|invisible|free|dnd|busy|notavail|away] +\fB/status\fR [online|avail|invisible|free|dnd|notavail|away] Set the current status\&. If no status is specified, display the current status\&. .SH "CONFIGURATION FILE" diff -r 627925d885de -r 4d7040cff8ee mcabber/doc/mcabber.1.html --- a/mcabber/doc/mcabber.1.html Mon Jul 04 12:55:54 2005 +0100 +++ b/mcabber/doc/mcabber.1.html Tue Jul 05 20:48:44 2005 +0100 @@ -425,7 +425,7 @@ if you want to send a message beginning with a slash, for example.
-/status [online|avail|invisible|free|dnd|busy|notavail|away] +/status [online|avail|invisible|free|dnd|notavail|away]
Set the current status. If no status is specified, display the @@ -455,7 +455,7 @@ diff -r 627925d885de -r 4d7040cff8ee mcabber/doc/mcabber.1.txt --- a/mcabber/doc/mcabber.1.txt Mon Jul 04 12:55:54 2005 +0100 +++ b/mcabber/doc/mcabber.1.txt Tue Jul 05 20:48:44 2005 +0100 @@ -151,7 +151,7 @@ Send the text message to the currently selected buddy. Can be useful if you want to send a message beginning with a slash, for example. -/status [online|avail|invisible|free|dnd|busy|notavail|away]:: +/status [online|avail|invisible|free|dnd|notavail|away]:: Set the current status. If no status is specified, display the current status. diff -r 627925d885de -r 4d7040cff8ee mcabber/src/commands.c --- a/mcabber/src/commands.c Mon Jul 04 12:55:54 2005 +0100 +++ b/mcabber/src/commands.c Tue Jul 05 20:48:44 2005 +0100 @@ -98,7 +98,6 @@ compl_add_category_word(COMPL_STATUS, "invisible"); compl_add_category_word(COMPL_STATUS, "free"); compl_add_category_word(COMPL_STATUS, "dnd"); - compl_add_category_word(COMPL_STATUS, "busy"); compl_add_category_word(COMPL_STATUS, "notavail"); compl_add_category_word(COMPL_STATUS, "away"); @@ -310,7 +309,6 @@ else if (!strcasecmp(arg, "away")) st = away; else if (!strcasecmp(arg, "invisible")) st = invisible; else if (!strcasecmp(arg, "dnd")) st = dontdisturb; - else if (!strcasecmp(arg, "busy")) st = occupied; else if (!strcasecmp(arg, "notavail")) st = notavail; else if (!strcasecmp(arg, "free")) st = freeforchat; else { diff -r 627925d885de -r 4d7040cff8ee mcabber/src/histolog.c --- a/mcabber/src/histolog.c Mon Jul 04 12:55:54 2005 +0100 +++ b/mcabber/src/histolog.c Tue Jul 05 20:48:44 2005 +0100 @@ -175,7 +175,7 @@ // Some checks if (((type == 'M') && (info != 'S' && info != 'R')) || - ((type == 'I') && (!strchr("OAIFDCN", info)))) { + ((type == 'I') && (!strchr("OAIFDN", info)))) { if (!err) { scr_LogPrint("Error in history file format (%s), l.%u", jid, ln); err = 1; diff -r 627925d885de -r 4d7040cff8ee mcabber/src/jabglue.c --- a/mcabber/src/jabglue.c Mon Jul 04 12:55:54 2005 +0100 +++ b/mcabber/src/jabglue.c Tue Jul 05 20:48:44 2005 +0100 @@ -45,7 +45,7 @@ unsigned char online; char imstatus2char[imstatus_size] = { - '_', 'o', 'i', 'f', 'd', 'c', 'n', 'a' + '_', 'o', 'i', 'f', 'd', 'n', 'a' }; static enum { @@ -240,7 +240,6 @@ (unsigned) -1); break; - case occupied: case dontdisturb: xmlnode_insert_cdata(xmlnode_insert_tag(x, "show"), "dnd", (unsigned) -1); diff -r 627925d885de -r 4d7040cff8ee mcabber/src/jabglue.h --- a/mcabber/src/jabglue.h Mon Jul 04 12:55:54 2005 +0100 +++ b/mcabber/src/jabglue.h Tue Jul 05 20:48:44 2005 +0100 @@ -16,7 +16,7 @@ extern jconn jc; extern char imstatus2char[]; -// Status chars: '_', 'o', 'i', 'f', 'd', 'c', 'n', 'a' +// Status chars: '_', 'o', 'i', 'f', 'd', 'n', 'a' enum imstatus { offline, @@ -24,7 +24,6 @@ invisible, freeforchat, dontdisturb, - occupied, notavail, away, imstatus_size