From: Ari Johnson Date: Fri, 2 Mar 2007 05:22:36 +0000 (+0000) Subject: Fixed do_chan_title crash [AEJ] X-Git-Tag: 0.73~99 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=89cbd785321634cab79b4b0c004b8da8359b7c74;p=cobramush.git Fixed do_chan_title crash [AEJ] --- 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;