- Timestamp:
- Sep 3, 2015, 5:54:33 PM (10 years ago)
- Branches:
- master
- Children:
- b8da4b3
- Parents:
- 3347cd9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cmd.c
r3347cd9 r61fdba7 91 91 icb_vis(whom, arg, ICB_MAXNICKLEN, VIS_SP); 92 92 93 /* Search in the same group first */ 93 94 LIST_FOREACH(s, &ig->sess, entry) { 94 95 if (strcmp(s->nick, whom) == 0) 95 96 break; 97 } 98 if (s == NULL) { 99 /* See if we can find someone else to beep */ 100 LIST_FOREACH(ig, &groups, entry) { 101 if (strcmp(is->group->name, ig->name) == 0) 102 continue; 103 LIST_FOREACH(s, &ig->sess, entry) { 104 if (strcmp(s->nick, whom) == 0) 105 break; 106 } 107 if (s != NULL) 108 break; 109 } 96 110 } 97 111 if (s == NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.