summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/config.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changes b/Changes
index f04d8de7d..c31a9c91a 100644
--- a/Changes
+++ b/Changes
@@ -9,6 +9,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
10/01 A Information on uplink server can be displayed via OperServ STATS. [ #00]
09/29 A Configuration option to change fantasy command prefix character. [ #00]
09/28 A Event for fantasy commands triggered without channel access. [ #00]
+11/01 F /os reload - BSFantasyChar was not sstrduped if not defined. [ #00]
10/25 F Memleaks and not removing tempfiles on failed module loading. [ #00]
10/25 F Help response for os random news was using opernews text. [ #00]
10/05 F Changed NickLen and BSFantasyChar into recommended and optional. [ #00]
diff --git a/src/config.c b/src/config.c
index e08afa682..f66e76f58 100644
--- a/src/config.c
+++ b/src/config.c
@@ -1333,7 +1333,7 @@ int read_config(int reload)
}
}
if (!BSFantasyCharacter)
- BSFantasyCharacter = "!";
+ BSFantasyCharacter = sstrdup("!");
if (BSFantasyCharacter && (strlen(BSFantasyCharacter) > 1)) {
printf
("*** BSFantasyCharacter is more than 1 character long. Only the first\n"