From 89cbd785321634cab79b4b0c004b8da8359b7c74 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Fri, 2 Mar 2007 05:22:36 +0000 Subject: [PATCH] Fixed do_chan_title crash [AEJ] --- src/extchat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/extchat.c b/src/extchat.c index d5da9a5..687da5c 100644 --- a/src/extchat.c +++ b/src/extchat.c @@ -2128,6 +2128,8 @@ do_chan_title(dbref player, const char *name, const char *title) notify(player, T("You must specify a channel.")); return; } + if (!title) + title = ""; if (strlen(title) >= CU_TITLE_LEN) { notify(player, T("Title too long.")); return; -- 2.30.2