Browse Source

Fix and update docstrings

Alois Mahdal 7 years ago
parent
commit
b5a6e8b6fb
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      dotfiles/imapdomo/common.lua

+ 2
- 2
dotfiles/imapdomo/common.lua View File

29
 
29
 
30
 function init_host(session)
30
 function init_host(session)
31
     --
31
     --
32
-    -- Look for action handler in basepaths; do first one
32
+    -- Do host-specific init, if exists
33
     --
33
     --
34
     local init = session.dirs.host .. "/init.lua"
34
     local init = session.dirs.host .. "/init.lua"
35
     if file_exists(init) then
35
     if file_exists(init) then
40
 
40
 
41
 function handle(session)
41
 function handle(session)
42
     --
42
     --
43
-    -- Look for action handler in basepaths; do first one
43
+    -- Look for action handler in session dirs; do first one that exists
44
     --
44
     --
45
     local valid = {
45
     local valid = {
46
         newmail = true,
46
         newmail = true,