From 977684cf229945449f738720e169f10448559690 Mon Sep 17 00:00:00 2001 From: Sam Steele Date: Wed, 5 Sep 2018 09:58:57 -0400 Subject: [PATCH] Fix a crash --- IRCCloud/Classes/MainViewController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IRCCloud/Classes/MainViewController.m b/IRCCloud/Classes/MainViewController.m index cf1d89d29..e48307153 100644 --- a/IRCCloud/Classes/MainViewController.m +++ b/IRCCloud/Classes/MainViewController.m @@ -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 {