- int res = dict_find(gline_dict, target, NULL) ? 1 : 0;
- if (heap_remove_pred(gline_heap, delete_gline_for_p, (char*)target)) {
- void *argh;
- struct gline *new_first;
- heap_peek(gline_heap, 0, &argh);
- if (argh) {
- new_first = argh;
- timeq_del(0, gline_expire, 0, TIMEQ_IGNORE_WHEN|TIMEQ_IGNORE_DATA);
- timeq_add(new_first->expires, gline_expire, 0);
- }
- }
-#ifdef WITH_PROTOCOL_BAHAMUT
- /* Bahamut is sort of lame: It permanently remembers any AKILLs
- * with durations longer than a day, and will never auto-expire
- * them. So when the time comes, we'd better remind it. */
- announce = 1;
-#endif