From f0c53b4727bf64c280b49cb7c15c6ba77c6b1dc5 Mon Sep 17 00:00:00 2001 From: "trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Fri, 12 Nov 2004 05:37:12 +0000 Subject: BUILD : 1.7.6 (440) BUGS : 211 NOTES : 1. Updated PTLink support, 2. OperServ takes +q/+a on CLEARMODES, 3. fixed a segfault in do_match_wild() reported by DJ git-svn-id: svn://svn.anope.org/anope/trunk@440 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@295 5417fbe8-f217-4b02-8779-1006273d7864 --- src/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/misc.c') diff --git a/src/misc.c b/src/misc.c index b0e87cd54..b2943a8de 100644 --- a/src/misc.c +++ b/src/misc.c @@ -157,7 +157,7 @@ static int do_match_wild(const char *pattern, const char *str, int docase) char c; const char *s; - if (!str || !*str) { + if (!str || !*str || !pattern || !*pattern) { return 0; } -- cgit