REQUIRE_PARAMS(2);
- if(IsProtected(channel->channel_info) && !IsOper(user))
+ if(IsProtected(channel->channel_info))
{
reply("CSMSG_MOVE_NODELETE", channel->name);
return 0;
return 0;
}
- if(IsProtected(channel->channel_info) && !IsOper(user))
+ if(IsProtected(channel->channel_info))
{
reply("CSMSG_MERGE_NODELETE");
return 0;
ary[1] = uData->handle->handle;
if(uData->present)
ary[2] = "Here";
+ else if(HANDLE_FLAGGED(uData->handle, NETWORK))
+ ary[2] = "Here";
else if(!uData->seen)
ary[2] = "Never";
else
ary[2] = strdup(ary[2]);
if(IsUserSuspended(uData))
ary[3] = "Suspended";
+ else if(HANDLE_FLAGGED(uData->handle, OPER))
+ ary[3] = "Operator";
+ else if(HANDLE_FLAGGED(uData->handle, HELPING))
+ ary[3] = "Staff";
+ else if(HANDLE_FLAGGED(uData->handle, NETWORK))
+ ary[3] = "Network";
else if(HANDLE_FLAGGED(uData->handle, FROZEN))
ary[3] = "Vacation";
else if(HANDLE_FLAGGED(uData->handle, BOT))
REQUIRE_PARAMS(3);
- if(IsProtected(channel->channel_info) && !IsOper(user))
+ if(IsProtected(channel->channel_info))
{
reply("CSMSG_SUSPEND_NODELETE", channel->name);
return 0;