Permalink
Browse files

Fix Issue #300

Another thanks to @Raggyx
  • Loading branch information...
1 parent 24f8815 commit 06dc8a9923a24743163a8b1e831773ec460824ec @thpryrchn thpryrchn committed Jan 16, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/siriproxy/connection.rb
@@ -1378,7 +1378,7 @@ def prep_received_object(object)
@assistant.assistantid=@loadedassistant
@assistant.speechid=@loadedspeechid
@assistant.client_apple_account_id=@client.appleAccountid
- if @key.id != nil
+ if @key != nil and @key.id != nil
@assistant.key_id=@key.id
else
@assistant.key_id=0

0 comments on commit 06dc8a9

Please sign in to comment.