Advertisement
Guest User

adch++ lua-scripts diff

a guest
Sep 25th, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.09 KB | None | 0 0
  1. diff scripts/access.lua ~/adchpp_trunk/plugins/Script/examples/access.lua
  2. 1371,1373c1371
  3. < --            if user.level == 0 then
  4. < --            DjSlash: someone regged can see passwords with listregs when `passinlist` is set.
  5. <               if user.level < settings.oplevel.value then
  6. ---
  7. >               if user.level == 0 then
  8. 1459,1461c1457
  9. < --    DjSlash: protect this command as long users get to see other users passwords when `passinlist` is set  
  10. < --    protected = function(c) return not get_user_c(c).is_default end,
  11. <       protected = is_op,
  12. ---
  13. >       protected = function(c) return not get_user_c(c).is_default end,
  14. 1606,1608c1602
  15. < --    DjSlash: our users aren't allowed to register others
  16. < --    protected = function(c) return has_level(c, 2) end,
  17. <       protected = is_op,
  18. ---
  19. >       protected = function(c) return has_level(c, 2) end,
  20. diff scripts/autil.lua ~/adchpp_trunk/plugins/Script/examples/autil.lua
  21. 12,14c12
  22. < -- DjSlash: with "/" the (linux?)dcpp clients doesn't show the menu hierarchy properly
  23. < -- ucmd_sep = "/"
  24. < ucmd_sep = "\\"
  25. ---
  26. > ucmd_sep = "/"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement