Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Mail Mod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Nerlich
Mail Mod
Commits
15e5d91c
Commit
15e5d91c
authored
Jan 6, 2020
by
BuckarooBanzay
Browse files
Options
Downloads
Patches
Plain Diff
stricter luacheck
parent
f84db599
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.luacheckrc
+0
-1
0 additions, 1 deletion
.luacheckrc
gui.lua
+1
-1
1 addition, 1 deletion
gui.lua
util/channel.lua
+1
-1
1 addition, 1 deletion
util/channel.lua
with
2 additions
and
3 deletions
.luacheckrc
+
0
−
1
View file @
15e5d91c
unused_args = false
allow_defined_top = true
globals = {
...
...
This diff is collapsed.
Click to expand it.
gui.lua
+
1
−
1
View file @
15e5d91c
...
...
@@ -43,7 +43,7 @@ function mail.show_inbox(name)
local
messages
=
mail
.
getMessages
(
name
)
if
messages
[
1
]
then
for
idx
,
message
in
ipairs
(
messages
)
do
for
_
,
message
in
ipairs
(
messages
)
do
if
message
.
unread
then
formspec
[
#
formspec
+
1
]
=
",#FFD700"
else
...
...
This diff is collapsed.
Click to expand it.
util/channel.lua
+
1
−
1
View file @
15e5d91c
...
...
@@ -65,7 +65,7 @@ local function Channel(http, url, cfg)
extra_headers
=
post_headers
,
timeout
=
timeout
,
post_data
=
minetest
.
write_json
(
data
)
},
function
(
res
)
},
function
()
-- TODO: error-handling
end
)
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment