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

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
This commit is contained in:
Adam-
2010-01-06 22:55:21 +00:00
parent e34448092e
commit 0761d4f74b
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -630,7 +630,7 @@ void bot_join(ChannelInfo * ci)
{
next = ban->next;
if (entry_match(ban, ci->bi->nick, ci->bi->user, ci->bi->host, 0))
if (entry_match(ban, ci->bi->nick.c_str(), ci->bi->user.c_str(), ci->bi->host.c_str(), 0))
{
ci->c->RemoveMode(NULL, CMODE_BAN, ban->mask);
}