Skip to content

Commit b061d24

Browse files
committed
Favor & over and
1 parent c1a0f70 commit b061d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/http/wordpress/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def wordpress_helper_post_comment(comment, comment_post_id, login_cookie, author
4949
options.merge!({'vars_post' => vars_post})
5050
options.merge!({'cookie' => login_cookie}) if login_cookie
5151
res = send_request_cgi(options)
52-
if res and res.redirect? and res.redirection
52+
if res && res.redirect? && res.redirection
5353
return wordpress_helper_parse_location_header(res)
5454
else
5555
message = "#{peer} - Post comment failed."

0 commit comments

Comments
 (0)