projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2db5084
)
src/chanserv.c: Fix copyright years and !uset autoinvite behavior.
author
Michael Poole
<mdpoole@troilus.org>
Wed, 23 Jul 2008 01:57:00 +0000
(21:57 -0400)
committer
Michael Poole
<mdpoole@troilus.org>
Wed, 23 Jul 2008 01:57:00 +0000
(21:57 -0400)
src/chanserv.c
patch
|
blob
|
history
diff --git
a/src/chanserv.c
b/src/chanserv.c
index d9fb9b876012947c2f149cf9222f04fa2b4db04c..345951d44d45a1ba1110959a2fac6bd88999be56 100644
(file)
--- a/
src/chanserv.c
+++ b/
src/chanserv.c
@@
-1,5
+1,5
@@
/* chanserv.c - Channel service bot
- * Copyright 2000-200
6
srvx Development Team
+ * Copyright 2000-200
7
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);
}