1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 03:43:12 +02:00

git-svn-id: svn://svn.anope.org/anope/trunk@980 31f1291d-b8d6-0310-a050-a5561fc1590b

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@705 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-03-01 13:29:02 +00:00
parent 4caab14b2b
commit 3a61b5a606
2 changed files with 13 additions and 0 deletions
+1
View File
@@ -12,6 +12,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
03/01 F Fixed ident check on /bs bot change. [#463]
03/01 F Fixed # prefix check on /cs forbid. [#461]
03/01 F Fixed events on /join 0. [#417]
03/01 F Added NULL checks to add_invite and add_exception. [#419]
Provided by nenolod. <nenolod@nenolod.net> - 2006
02/03 A Support for Charybdis IRCd. [ #00]
+12
View File
@@ -1271,6 +1271,12 @@ void add_ban(Channel * chan, char *mask)
void add_exception(Channel * chan, char *mask)
{
if (!chan || !mask) {
if (debug)
alog("debug: add_exception called with NULL values");
return;
}
if (chan->exceptcount >= chan->exceptsize) {
chan->exceptsize += 8;
chan->excepts =
@@ -1286,6 +1292,12 @@ void add_exception(Channel * chan, char *mask)
void add_invite(Channel * chan, char *mask)
{
if (!chan || !mask) {
if (debug)
alog("debug: add_invite called with NULL values");
return;
}
if (chan->invitecount >= chan->invitesize) {
chan->invitesize += 8;
chan->invite =