Skip to content

Commit

Permalink
Fix a crash
Browse files Browse the repository at this point in the history
  • Loading branch information
c99koder committed Sep 5, 2018
1 parent 64e291c commit 977684c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions IRCCloud/Classes/MainViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -971,6 +971,8 @@ - (void)handleEvent:(NSNotification *)notification {
msg = [o objectForKey:@"msg"];
}
msg = [msg stringByAppendingString:@"\n"];
if(!msg)
msg = @"\n";
if(tv) {
[tv appendText:msg];
} else {
Expand Down

0 comments on commit 977684c

Please sign in to comment.