backport
authorPierre Habouzit (MadCoder <pierre.habouzit@m4x.org>
Fri, 18 Feb 2005 08:04:37 +0000 (08:04 +0000)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 26 Jun 2008 21:28:12 +0000 (23:28 +0200)
Patches applied:

 * opensource@polytechnique.org--2005/platal--release--0.9.4--patch-36
   fix for poly.net

git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-482

bin/lists.rpc.py

index 7482c9a..fb23d4a 100755 (executable)
@@ -298,7 +298,7 @@ def get_lists(userdesc,perms,vhost,email=None):
         except:
             continue
         try:
-            details = get_list_info(udesc,perms,mlist,(email is None))[0]
+            details = get_list_info(udesc,perms,mlist,(email is None and vhost == PLATAL_DOMAIN))[0]
             result.append(details)
         except:
             continue