source->sendNotice(nick,STRING_LITERAL_AS_REFERENCE("Error: A bot can not be a moderator."));
source->sendNotice(nick,STRING_LITERAL_AS_REFERENCE("Error: A bot can not be a moderator."));
else
else
{
{
pluginInstance.resetAccess(player);
if(pluginInstance.set(player,group))
if(pluginInstance.set(player,group))
source->sendNotice(nick,Jupiter::StringS::Format("%.*s has been added to group \"%.*s\"",player->name.size(),player->name.ptr(),group->name.size(),group->name.ptr()));
source->sendNotice(nick,Jupiter::StringS::Format("%.*s has been added to group \"%.*s\"",player->name.size(),player->name.ptr(),group->name.size(),group->name.ptr()));
else
else
source->sendNotice(nick,Jupiter::StringS::Format("%.*s has been moved to group \"%.*s\"",player->name.size(),player->name.ptr(),group->name.size(),group->name.ptr()));
source->sendNotice(nick,Jupiter::StringS::Format("%.*s has been moved to group \"%.*s\"",player->name.size(),player->name.ptr(),group->name.size(),group->name.ptr()));