浏览代码

Fix and update docstrings

Alois Mahdal 9 年前
父节点
当前提交
b5a6e8b6fb
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      dotfiles/imapdomo/common.lua

+ 2
- 2
dotfiles/imapdomo/common.lua 查看文件

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,