The /mv command shouldn't send +v for already-voiced users.
The logic in the massop function to exclude already-voiced users from massvoice was faulty - it was equivalent to just !nick_isop(). git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@500 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -615,7 +615,7 @@ BUILT_IN_COMMAND(massop)
|
||||
sprintf(buffer, "%s!%s", nicks->nick, nicks->host);
|
||||
if ((my_stricmp(nicks->nick, get_server_nickname(from_server)) && wild_match(spec, buffer)))
|
||||
{
|
||||
if ((massvoice && !nick_isvoice(nicks) && !nick_isop(nicks)) || !nick_isop(nicks))
|
||||
if (!(nick_isop(nicks) || (massvoice && nick_isvoice(nicks))))
|
||||
{
|
||||
add_mode(chan, massvoice?"v":"o", 1, nicks->nick, NULL, maxmodes);
|
||||
count++;
|
||||
|
||||
Reference in New Issue
Block a user