summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-11-01 20:14:59 +0000
committerrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-11-01 20:14:59 +0000
commitacacc71a01767e2510b1d35c058ecf9e2ed553a3 (patch)
treee508971ea78ada7e50f12066b805ac4bd4b47230 /src
parentbe5d35717d9048065113d6d8ea43b80f66eaadb4 (diff)
use sstrdup on the BSFantasyChar if not specified in the config file.
git-svn-id: svn://svn.anope.org/anope/trunk@925 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@667 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
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"