]> andersk Git - moira.git/commitdiff
find_member will now match a user with himself
authormar <mar>
Thu, 11 Aug 1988 22:44:32 +0000 (22:44 +0000)
committermar <mar>
Thu, 11 Aug 1988 22:44:32 +0000 (22:44 +0000)
server/qrtn.qc

index 07d02d848f59569763c9b2cf4569ae793b2b4d1e..3594ad227e04397944048c243296d43fe6a68fad 100644 (file)
@@ -532,6 +532,10 @@ get_client(cl, client_type, client_id)
     int child;
     struct save_queue *sq_create();
 
     int child;
     struct save_queue *sq_create();
 
+    if (!strcmp(strtrim(list_type), strtrim(member_type)) &&
+       list_id == member_id)
+       return(1);
+
     /* see if client is a direct member of list */
 ##  repeat retrieve (exists = any(m.#member_id where 
 ##                               m.#list_id = @list_id and
     /* see if client is a direct member of list */
 ##  repeat retrieve (exists = any(m.#member_id where 
 ##                               m.#list_id = @list_id and
This page took 0.038536 seconds and 5 git commands to generate.