comparison mcabber/src/screen.c @ 1511:e1c34d251e39

Removed the "/color mucnick <nick> !" command, Update EN/RU/UK help files The option is not needed anymore, because nick colors are permanent for the same nicks.
author Maxim Vuets <maxim.vuets@gmail.com>
date Sun, 31 Aug 2008 17:45:26 +0200
parents f6d4e20b9caa
children 9d78b571e693
comparison
equal deleted inserted replaced
1510:f6d4e20b9caa 1511:e1c34d251e39
293 nc->manual = FALSE; 293 nc->manual = FALSE;
294 nc = g_hash_table_lookup(nickcolors, mnick); 294 nc = g_hash_table_lookup(nickcolors, mnick);
295 assert(nc);//Must have both at the same time 295 assert(nc);//Must have both at the same time
296 nc->manual = FALSE; 296 nc->manual = FALSE;
297 }// Else -> no color saved, nothing to delete 297 }// Else -> no color saved, nothing to delete
298 }
299 g_free(snick);//They are not saved in the hash
300 g_free(mnick);
301 need_update = TRUE;
302 } else if (!strcmp(color, "!")) {
303 if (nickcolors) {
304 g_free(g_hash_table_lookup(nickcolors, snick));
305 g_hash_table_remove(nickcolors, snick);
306 g_hash_table_remove(nickcolors, mnick);
307 } 298 }
308 g_free(snick);//They are not saved in the hash 299 g_free(snick);//They are not saved in the hash
309 g_free(mnick); 300 g_free(mnick);
310 need_update = TRUE; 301 need_update = TRUE;
311 } else { 302 } else {