diff options
author | mark 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 |
---|---|---|
committer | mark 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 |
commit | 0318d9547e2b0a41c37a6ae82bb592081b570abd (patch) | |
tree | 92c61731021a35d0a161f43a18a18a994f9924c7 /src | |
parent | f055aa452af893761ec94d958ffd75d08287eb9f (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
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol/inspircd11.c | 8 |
1 files changed, 2 insertions, 6 deletions
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; } |