1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 17:23:13 +02:00

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
This commit is contained in:
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-11-01 20:14:59 +00:00
parent be5d35717d
commit acacc71a01
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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]
+1 -1
View File
@@ -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"