From 0761d4f74bc47191e9dde4591cc3a8a46878b4d0 Mon Sep 17 00:00:00 2001 From: Adam- Date: Wed, 6 Jan 2010 22:55:21 +0000 Subject: Fix crash caused by trying to add an akick to a channel when certain types of exceptions are set, this also fixes entry_match to match with case insensitivity, as bans/excepts/invexs arent case sensitive git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2738 5417fbe8-f217-4b02-8779-1006273d7864 --- include/extern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/extern.h b/include/extern.h index 2a5a95bd4..ed9b86e40 100644 --- a/include/extern.h +++ b/include/extern.h @@ -108,7 +108,7 @@ E Entry *entry_create(char *mask); E Entry *entry_add(EList *list, const char *mask); E void entry_delete(EList *list, Entry *e); E EList *list_create(); -E int entry_match(Entry *e, const std::string &nick, const std::string &user, const std::string &host, uint32 ip); +E int entry_match(Entry *e, const ci::string &nick, const ci::string &user, const ci::string &host, uint32 ip); E int entry_match_mask(Entry *e, const char *mask, uint32 ip); E Entry *elist_match(EList *list, const char *nick, const char *user, const char *host, uint32 ip); E Entry *elist_match_mask(EList *list, const char *mask, uint32 ip); -- cgit