projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba1bbc6
)
Fixed do_chan_title crash [AEJ]
author
Ari Johnson
<ari@cobramush.org>
Fri, 2 Mar 2007 05:22:36 +0000
(
05:22
+0000)
committer
Ari Johnson
<ari@cobramush.org>
Fri, 2 Mar 2007 05:22:36 +0000
(
05:22
+0000)
src/extchat.c
patch
|
blob
|
history
diff --git
a/src/extchat.c
b/src/extchat.c
index d5da9a5a788b8e36d37f1bd43c180d2c5750aee8..687da5c93576364fcb1305eb9f91c58328e7852f 100644
(file)
--- 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;