summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 53d09b04..ce7c8efd 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -3169,7 +3169,7 @@ FindAngel(void){
static inline void
GotoNewHand(){
- if (currutmp->mode != EDITING){
+ if (currutmp && currutmp->mode != EDITING){
char old_board[IDLEN + 1] = "";
if (currboard)
strlcpy(old_board, currboard, IDLEN + 1);