REQUIRE_PARAMS(2);
- if(IsProtected(channel->channel_info))
+ if(IsProtected(channel->channel_info) && !IsOper(user))
{
reply("CSMSG_MOVE_NODELETE", channel->name);
return 0;
return 0;
}
- if(IsProtected(channel->channel_info))
+ if(IsProtected(channel->channel_info) && !IsOper(user))
{
reply("CSMSG_MERGE_NODELETE");
return 0;
REQUIRE_PARAMS(3);
- if(IsProtected(channel->channel_info))
+ if(IsProtected(channel->channel_info) && !IsOper(user))
{
reply("CSMSG_SUSPEND_NODELETE", channel->name);
return 0;