Skip to content

Commit

Permalink
nullpointerexception
Browse files Browse the repository at this point in the history
  • Loading branch information
c99koder committed Mar 3, 2013
1 parent ce6b8bc commit b2d39e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/irccloud/android/MessageActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ private void setFromIntent(Intent intent) {
}
}

if(intent.getData() != null && intent.getData().getScheme().startsWith("irc")) {
if(intent.getData() != null && intent.getData().getScheme() != null && intent.getData().getScheme().startsWith("irc")) {
if(open_uri(intent.getData()))
return;
else
Expand Down

0 comments on commit b2d39e9

Please sign in to comment.