summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormark mark@31f1291d-b8d6-0310-a050-a5561fc1590b <mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-10-07 18:00:05 +0000
committermark mark@31f1291d-b8d6-0310-a050-a5561fc1590b <mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-10-07 18:00:05 +0000
commit0318d9547e2b0a41c37a6ae82bb592081b570abd (patch)
tree92c61731021a35d0a161f43a18a18a994f9924c7
parentf055aa452af893761ec94d958ffd75d08287eb9f (diff)
BUILD : 1.7.19 (1310) BUGS : 794 NOTES : Fixes the segfault in inspircd11.c / anope_event_capab() on missing required modules.
git-svn-id: svn://svn.anope.org/anope/trunk@1310 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1028 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--src/protocol/inspircd11.c8
-rw-r--r--version.log6
3 files changed, 8 insertions, 7 deletions
diff --git a/Changes b/Changes
index 6e68af3a9..43b1d70b9 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
Anope Version S V N
--------------------
+10/07 F Segfault on missing required InspIRCd11 modules. [#794]
08/29 A Session limit exceptions now support IP numbers as hostmask. [#723]
08/29 A Added InspIRCd11 vIdent support. [#684]
08/30 A Added support for channel keys to UnrealIRCd 3.2 SVSJOIN command. [#774]
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c
index 7c26e107d..0c2f1e1e1 100644
--- a/src/protocol/inspircd11.c
+++ b/src/protocol/inspircd11.c
@@ -1556,18 +1556,14 @@ int anope_event_capab(char *source, int ac, char **av)
if (has_globopsmod == 0) {
send_cmd(NULL,
"ERROR :m_globops is not loaded. This is required by Anope");
- strscpy(quitmsg,
- "Remote server does not have the m_globops module loaded, and this is required.",
- sizeof(quitmsg));
+ quitmsg = "Remote server does not have the m_globops module loaded, and this is required.";
quitting = 1;
return MOD_STOP;
}
if (has_servicesmod == 0) {
send_cmd(NULL,
"ERROR :m_services is not loaded. This is required by Anope");
- strscpy(quitmsg,
- "Remote server does not have the m_services module loaded, and this is required.",
- sizeof(quitmsg));
+ quitmsg = "Remote server does not have the m_services module loaded, and this is required.";
quitting = 1;
return MOD_STOP;
}
diff --git a/version.log b/version.log
index 32c84cb5e..589d2ec0d 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="19"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1309"
+VERSION_BUILD="1310"
# $Log$
#
+# BUILD : 1.7.19 (1310)
+# BUGS : 794
+# NOTES : Fixes the segfault in inspircd11.c / anope_event_capab() on missing required modules.
+#
# BUILD : 1.7.19 (1309)
# BUGS : 793
# NOTES : Fixed a typo in inspircd11.c where it checked for chgident.so