Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
456
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
621afc68
Commit
621afc68
authored
15 years ago
by
dionoea
Browse files
Options
Downloads
Patches
Plain Diff
Don't print welcome message if it's empty.
parent
4cf0140c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
share/lua/intf/rc.lua
+4
-2
4 additions, 2 deletions
share/lua/intf/rc.lua
with
4 additions
and
2 deletions
share/lua/intf/rc.lua
+
4
−
2
View file @
621afc68
...
...
@@ -562,7 +562,7 @@ do
end
end
list
=
list
..
")"
if
count
~=
0
and
env
.
welcome
then
if
count
~=
0
and
env
.
welcome
and
env
.
welcome
~=
""
then
env
.
welcome
=
env
.
welcome
..
"
\r\n
Warning: "
..
count
..
" functions are still unimplemented "
..
list
..
"."
end
end
...
...
@@ -623,7 +623,9 @@ h = host.host()
-- No auth
h
.
status_callbacks
[
host
.
status
.
password
]
=
function
(
client
)
client
.
env
=
common
.
table_copy
(
env
)
client
:
send
(
client
.
env
.
welcome
..
"
\r\n
"
)
if
client
.
env
.
welcome
~=
""
then
client
:
send
(
client
.
env
.
welcome
..
"
\r\n
"
)
end
client
:
switch_status
(
host
.
status
.
read
)
end
-- Print prompt when switching a client's status to `read'
...
...
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