Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
621afc68
Commit
621afc68
authored
Dec 27, 2009
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't print welcome message if it's empty.
parent
4cf0140c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
share/lua/intf/rc.lua
share/lua/intf/rc.lua
+4
-2
No files found.
share/lua/intf/rc.lua
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
)
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'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment