Don't use the implicit perms='user' arg for make_*hook.
[platal.git] / modules / deltaten.php
index 006aa83..2c6a129 100644 (file)
@@ -26,8 +26,8 @@ class DeltaTenModule extends PLModule
     function handlers()
     {
         return array(
-            'deltaten/search'   => $this->make_hook('index', AUTH_COOKIE),
-            'deltaten'          => $this->make_hook('index', AUTH_COOKIE),
+            'deltaten/search'   => $this->make_hook('index', AUTH_COOKIE, 'user'),
+            'deltaten'          => $this->make_hook('index', AUTH_COOKIE, 'user'),
         );
     }