comparison mcabber/src/commands.c @ 277:4d7040cff8ee

Remove busy/occupied status, which does not really exist
author Mikael Berthe <mikael@lilotux.net>
date Tue, 05 Jul 2005 20:48:44 +0100
parents 49e9e02dd6d0
children 00b2377539ac
comparison
equal deleted inserted replaced
276:627925d885de 277:4d7040cff8ee
96 compl_add_category_word(COMPL_STATUS, "online"); 96 compl_add_category_word(COMPL_STATUS, "online");
97 compl_add_category_word(COMPL_STATUS, "avail"); 97 compl_add_category_word(COMPL_STATUS, "avail");
98 compl_add_category_word(COMPL_STATUS, "invisible"); 98 compl_add_category_word(COMPL_STATUS, "invisible");
99 compl_add_category_word(COMPL_STATUS, "free"); 99 compl_add_category_word(COMPL_STATUS, "free");
100 compl_add_category_word(COMPL_STATUS, "dnd"); 100 compl_add_category_word(COMPL_STATUS, "dnd");
101 compl_add_category_word(COMPL_STATUS, "busy");
102 compl_add_category_word(COMPL_STATUS, "notavail"); 101 compl_add_category_word(COMPL_STATUS, "notavail");
103 compl_add_category_word(COMPL_STATUS, "away"); 102 compl_add_category_word(COMPL_STATUS, "away");
104 103
105 // Roster category 104 // Roster category
106 compl_add_category_word(COMPL_ROSTER, "bottom"); 105 compl_add_category_word(COMPL_ROSTER, "bottom");
308 else if (!strcasecmp(arg, "online")) st = available; 307 else if (!strcasecmp(arg, "online")) st = available;
309 else if (!strcasecmp(arg, "avail")) st = available; 308 else if (!strcasecmp(arg, "avail")) st = available;
310 else if (!strcasecmp(arg, "away")) st = away; 309 else if (!strcasecmp(arg, "away")) st = away;
311 else if (!strcasecmp(arg, "invisible")) st = invisible; 310 else if (!strcasecmp(arg, "invisible")) st = invisible;
312 else if (!strcasecmp(arg, "dnd")) st = dontdisturb; 311 else if (!strcasecmp(arg, "dnd")) st = dontdisturb;
313 else if (!strcasecmp(arg, "busy")) st = occupied;
314 else if (!strcasecmp(arg, "notavail")) st = notavail; 312 else if (!strcasecmp(arg, "notavail")) st = notavail;
315 else if (!strcasecmp(arg, "free")) st = freeforchat; 313 else if (!strcasecmp(arg, "free")) st = freeforchat;
316 else { 314 else {
317 scr_LogPrint("Unrecognized parameter!"); 315 scr_LogPrint("Unrecognized parameter!");
318 return; 316 return;