Skip to content

Commit a4dc409

Browse files
committed
Add empty default vprint value
1 parent 8bb7496 commit a4dc409

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Msf::Module::UI::Line::Verbose
22
# Verbose version of #print_line
3-
def vprint_line(msg)
3+
def vprint_line(msg='')
44
print_line(msg) if datastore['VERBOSE'] || framework.datastore['VERBOSE']
55
end
6-
end
6+
end
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
module Msf::Module::UI::Message::Verbose
22
# Verbose version of #print_error
3-
def vprint_error(msg)
3+
def vprint_error(msg='')
44
print_error(msg) if datastore['VERBOSE'] || framework.datastore['VERBOSE']
55
end
66

77
# Verbose version of #print_good
8-
def vprint_good(msg)
8+
def vprint_good(msg='')
99
print_good(msg) if datastore['VERBOSE'] || framework.datastore['VERBOSE']
1010
end
1111

1212
# Verbose version of #print_status
13-
def vprint_status(msg)
13+
def vprint_status(msg='')
1414
print_status(msg) if datastore['VERBOSE'] || framework.datastore['VERBOSE']
1515
end
1616

1717
# Verbose version of #print_warning
18-
def vprint_warning(msg)
18+
def vprint_warning(msg='')
1919
print_warning(msg) if datastore['VERBOSE'] || framework.datastore['VERBOSE']
2020
end
21-
end
21+
end

0 commit comments

Comments
 (0)