Remove a variable that is set but unused.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@481 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -588,7 +588,7 @@ BUILT_IN_COMMAND(massop)
|
|||||||
{
|
{
|
||||||
ChannelList *chan;
|
ChannelList *chan;
|
||||||
NickList *nicks;
|
NickList *nicks;
|
||||||
char *to, *rest, *spec = NULL;
|
char *to, *spec = NULL;
|
||||||
int count = 0, massvoice = 0, maxmodes = get_int_var(NUM_OPMODES_VAR), server;
|
int count = 0, massvoice = 0, maxmodes = get_int_var(NUM_OPMODES_VAR), server;
|
||||||
char buffer[BIG_BUFFER_SIZE + 1];
|
char buffer[BIG_BUFFER_SIZE + 1];
|
||||||
|
|
||||||
@@ -608,12 +608,7 @@ BUILT_IN_COMMAND(massop)
|
|||||||
if (!spec && !(spec = next_arg(args, &args)))
|
if (!spec && !(spec = next_arg(args, &args)))
|
||||||
spec = "*!*@*";
|
spec = "*!*@*";
|
||||||
if (*spec == '-')
|
if (*spec == '-')
|
||||||
{
|
|
||||||
rest = spec;
|
|
||||||
spec = "*!*@*";
|
spec = "*!*@*";
|
||||||
}
|
|
||||||
else
|
|
||||||
rest = args;
|
|
||||||
|
|
||||||
for (nicks = next_nicklist(chan, NULL); nicks; nicks = next_nicklist(chan, nicks))
|
for (nicks = next_nicklist(chan, NULL); nicks; nicks = next_nicklist(chan, nicks))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user