Skip to content

Commit 82bdce6

Browse files
committed
Remove to_s
1 parent b78f110 commit 82bdce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/auxiliary/mqtt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def client_id
4343
# creates a new mqtt client for use against the connected socket
4444
def mqtt_client
4545
client_opts = {
46-
client_id: client_id.to_s,
46+
client_id: client_id,
4747
username: datastore['USERNAME'],
4848
password: datastore['PASSWORD'],
4949
read_timeout: read_timeout

0 commit comments

Comments
 (0)