From: Michael Poole Date: Wed, 23 Jul 2008 01:57:00 +0000 (-0400) Subject: src/chanserv.c: Fix copyright years and !uset autoinvite behavior. X-Git-Url: http://git.pk910.de/?p=srvx.git;a=commitdiff_plain;h=91d4e8dc514cf58b9a99c4bcfb46cfcb2d30026d src/chanserv.c: Fix copyright years and !uset autoinvite behavior. --- diff --git a/src/chanserv.c b/src/chanserv.c index d9fb9b8..345951d 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -1,5 +1,5 @@ /* chanserv.c - Channel service bot - * Copyright 2000-2006 srvx Development Team + * Copyright 2000-2007 srvx Development Team * * This file is part of srvx. * @@ -5881,7 +5881,7 @@ static MODCMD_FUNC(user_opt_noautoop) static MODCMD_FUNC(user_opt_autoinvite) { - if(check_user_level(channel, user, lvlInviteMe, 1, 0)) + if((argc > 1) && !check_user_level(channel, user, lvlInviteMe, 1, 0)) { reply("CSMSG_LOW_CHANNEL_ACCESS", channel->name); }